# project samba configured on Wed Dec 11 19:16:58 2019 by # waf 2.0.18 (abi 20, python 30800f0 on linux) # using ./buildtools/bin/waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libiconv=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr --enable-fhs --cross-compile --cross-answers=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt --hostcc=gcc --disable-rpath --disable-rpath-install --disable-iprint --without-pam --without-dmapi --without-gpgme --without-ldb-lmdb --disable-glusterfs --with-cluster-support --bundled-libraries=!asn1_compile,!compile_et --without-acl-support --disable-cups --disable-avahi --without-fam --with-libarchive --without-ads --without-ldap # ---------------------------------------- Setting top to /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2 ---------------------------------------- Setting out to /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin ---------------------------------------- Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='CC' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc'] ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-dM', '-E', '-'] out: #define __riscv 1 #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __riscv_atomic 1 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 1 #define __riscv_cmodel_medlow 1 #define __riscv_float_abi_soft 1 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 1 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __CHAR_UNSIGNED__ 1 #define __UINT32_MAX__ 0xffffffffU #define __riscv_fdiv 1 #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 113 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.92592994438723585305597794258492732e-34F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201706L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 36 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 7 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __riscv_flen 64 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GXX_ABI_VERSION 1011 #define __FLT_MIN_EXP__ (-125) #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FP_FAST_FMAF 1 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __riscv_mul 1 #define __FLT64X_DECIMAL_DIG__ 36 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __NO_INLINE__ 1 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 36 #define __VERSION__ "7.4.0" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __FLT32_MAX_10_EXP__ 38 #define __riscv_muldiv 1 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __riscv_xlen 64 #define __FLT64X_DIG__ 33 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L #define __UINTMAX_C(c) c ## UL #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __riscv_fsqrt 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __unix 1 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201112L #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 113 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176508575932662800702e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SSP__ 1 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __FP_FAST_FMA 1 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 4 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ long int #define __riscv_div 1 #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SIZEOF_LONG_LONG__ 8 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 33 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 1 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 find program=['ar'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='AR' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-ar'] /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc ---------------------------------------- Checking for program 'git' git find program=['git'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] 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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" int main() { return 0; } <== [1/1] Compiling bin/.conf_check_0d103b7d08037f7294c534203d49b0ca/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0d103b7d08037f7294c534203d49b0ca/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ---------------------------------------- Checking for program 'gdb' /usr/bin/gdb find program=['gdb'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='GDB' -> ['/usr/bin/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_161df79c9e35d02973fa92ddc2521a99/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_161df79c9e35d02973fa92ddc2521a99/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.sysname); ; return 0; } <== [1/3] Compiling bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_35812f4cdce7e8b044d6c251e45108d6/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking uname sysname type'] out: Linux Linux ---------------------------------------- Checking uname machine type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.machine); ; return 0; } <== [1/3] Compiling bin/.conf_check_d258652efa30b6b66e6143722d9fde93/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d258652efa30b6b66e6143722d9fde93/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_d258652efa30b6b66e6143722d9fde93/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d258652efa30b6b66e6143722d9fde93/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_d258652efa30b6b66e6143722d9fde93/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d258652efa30b6b66e6143722d9fde93/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking uname machine type'] out: riscv64 riscv64 ---------------------------------------- Checking uname release type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.release); ; return 0; } <== [1/3] Compiling bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_385f585cecfdde2f184853dd6a6df6d3/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking uname release type'] out: 3.0.0 3.0.0 ---------------------------------------- Checking uname version type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.version); ; return 0; } <== [1/3] Compiling bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2db6842f31c6525f8332acb09d085f8b/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking uname version type'] out: #1 Tue Nov 1 12:34:56 UTC 2013 #1 Tue Nov 1 12:34:56 UTC 2013 ---------------------------------------- Checking for header stdio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define 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_460ee8693a44365915b6e2555a48b143/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_460ee8693a44365915b6e2555a48b143/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define 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_8af29446b68ae77b1708fc07ca3b7c47/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8af29446b68ae77b1708fc07ca3b7c47/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_8af29446b68ae77b1708fc07ca3b7c47/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8af29446b68ae77b1708fc07ca3b7c47/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_8af29446b68ae77b1708fc07ca3b7c47/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8af29446b68ae77b1708fc07ca3b7c47/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking simple C program'] ok ---------------------------------------- Checking compiler accepts ['-Werror'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_0146f9c3666c8eee4deb49dfcbdc7a12/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0146f9c3666c8eee4deb49dfcbdc7a12/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_def939a179e6ab6a0cc57bc10775af4d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_def939a179e6ab6a0cc57bc10775af4d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_def939a179e6ab6a0cc57bc10775af4d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_def939a179e6ab6a0cc57bc10775af4d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-rpath,.'] yes ---------------------------------------- Checking for rpath library support [1/5] Compiling bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/libdir/liblc1.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/main.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../main.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [3/5] Linking bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/liblib1.so ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/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] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [4/5] Linking bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/prog1 ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/prog1', '-Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default', '-llib1'] [5/5] Processing bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/prog1 ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e2e95b4db20a88008bc44c04a386841/testbuild/default/prog1', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'rpath library support'] yes ----------------------------------------- Checking for -Wl,--version-script support [1/5] Compiling bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/libdir/liblc1.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/main.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '../../main.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [3/5] Linking bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/liblib1.so ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-Wl,--version-script=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/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] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [4/5] Linking bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/prog1 ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/prog1', '-Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default', '-llib1'] [5/5] Processing bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/prog1 ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b77ac23f8a65e0b30ded2068bc8e96df/testbuild/default/prog1', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', '-Wl,--version-script support'] yes ------------------------------------------------- Checking compiler accepts ['-fvisibility=hidden'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_3bd1d616a276209fd5469085aa86f855/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3bd1d616a276209fd5469085aa86f855/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_5873793185d26199935191074ada950a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-fvisibility=hidden', '-Werror', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5873793185d26199935191074ada950a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5873793185d26199935191074ada950a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5873793185d26199935191074ada950a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 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_6fa6796ec3bfb556ddb434a52ad5e86b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6fa6796ec3bfb556ddb434a52ad5e86b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6fa6796ec3bfb556ddb434a52ad5e86b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6fa6796ec3bfb556ddb434a52ad5e86b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34: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_e24d018473712ac2a595d331fb9a5819/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e24d018473712ac2a595d331fb9a5819/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e24d018473712ac2a595d331fb9a5819/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e24d018473712ac2a595d331fb9a5819/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_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_68be821527f7155b69224de461d0bf00/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_68be821527f7155b69224de461d0bf00/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_68be821527f7155b69224de461d0bf00/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_68be821527f7155b69224de461d0bf00/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define 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_19a658dc6a124e300c2e269a57516e5c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_19a658dc6a124e300c2e269a57516e5c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define 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_0c5e236103667623756e10f25d7a5145/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0c5e236103667623756e10f25d7a5145/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] inline ------------------------------------------------- Checking for program 'pkg-config' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/pkg-config find program=['pkg-config'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PKGCONFIG' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/pkg-config'] ------------------------------------------------- Checking for pkg-config version >= '0.0.0' ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_8432cc1f776013a7a269636f6466d908/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8432cc1f776013a7a269636f6466d908/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_b79738120027e2ca8739ca40f93894db/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b79738120027e2ca8739ca40f93894db/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_fd6c2fcb6aac87e4231c638074835907/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd6c2fcb6aac87e4231c638074835907/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 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_a03e7c045cee60387308b710ffc11d15/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a03e7c045cee60387308b710ffc11d15/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define 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_5f698b954a1c3e0624d2a1ac63a10955/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5f698b954a1c3e0624d2a1ac63a10955/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_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_56ceb88cf54811a78fe9111a7754131f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_56ceb88cf54811a78fe9111a7754131f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_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_7093426f8518b0565b579b81322796ea/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7093426f8518b0565b579b81322796ea/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_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_08877d03da14be9c90a0dc01bbc764ac/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_08877d03da14be9c90a0dc01bbc764ac/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_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_eb5d8b93cc9e088014a1cb4a6c7a8a4d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_eb5d8b93cc9e088014a1cb4a6c7a8a4d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define 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_c3632279030871fb793086d79388e57b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c3632279030871fb793086d79388e57b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define 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_63556d9b91130f76d48d0fc4aeae8c12/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_63556d9b91130f76d48d0fc4aeae8c12/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define 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_96ed5f23b578c67132d4d55dbe942a97/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_96ed5f23b578c67132d4d55dbe942a97/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_c5f5dd35c23476c07fae9c5006553d4d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c5f5dd35c23476c07fae9c5006553d4d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:41:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header ctype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_5bf4e22f68c0feb6130e1069f04d9fa2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5bf4e22f68c0feb6130e1069f04d9fa2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_3d36139c6af429be15b0e05f7fe79170/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3d36139c6af429be15b0e05f7fe79170/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:43:10: fatal error: standards.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header stdbool.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_a590e2c275086fc37ae74036f0e15e98/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a590e2c275086fc37ae74036f0e15e98/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define 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_a85a4bdd8ba04c9b575b8b7e68d5b0b5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a85a4bdd8ba04c9b575b8b7e68d5b0b5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_ccc61d921f2e2d69fdf09c3b73a3a4fa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ccc61d921f2e2d69fdf09c3b73a3a4fa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:47:10: fatal error: vararg.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header limits.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_69ec3f7b470576669ca04d7314fe4b36/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_69ec3f7b470576669ca04d7314fe4b36/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define 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_f1b4ef3ff425bec33864b8621f662568/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f1b4ef3ff425bec33864b8621f662568/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define 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_dcdd10b80fba77b9b8b4641f96aa8784/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcdd10b80fba77b9b8b4641f96aa8784/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_dcdd10b80fba77b9b8b4641f96aa8784/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcdd10b80fba77b9b8b4641f96aa8784/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_dcdd10b80fba77b9b8b4641f96aa8784/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcdd10b80fba77b9b8b4641f96aa8784/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for large file support without additional flags'] ok -------------------------------------------------------- Checking for header sys/time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 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_484f075367f548cf5ad52d9cbf800d4a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_484f075367f548cf5ad52d9cbf800d4a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #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_1bb8860516d58d407d9b4f08a575a85b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1bb8860516d58d407d9b4f08a575a85b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #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_96d23f9e9cf576c4da981db4c1f981c4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_96d23f9e9cf576c4da981db4c1f981c4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_3468b95cb29685c7af8871c72a7c7676/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3468b95cb29685c7af8871c72a7c7676/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:56:10: fatal error: sys/endian.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for HAVE_LITTLE_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_41725f39b39dc83412b2f896ea39ffd6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_41725f39b39dc83412b2f896ea39ffd6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_41725f39b39dc83412b2f896ea39ffd6/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_41725f39b39dc83412b2f896ea39ffd6/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #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_5537386e92f3190f4c70868b6a833a0c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5537386e92f3190f4c70868b6a833a0c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:72:26: error: #error Not big endian. #error Not big endian. ^~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for header signal.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 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_65fba1448ac16ee843e28f7c547f2e25/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_65fba1448ac16ee843e28f7c547f2e25/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_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_3a7508f10ab5ce8fb43e2e6b9bf0472f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3a7508f10ab5ce8fb43e2e6b9bf0472f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:61:28: error: void value not ignored as it ought to be int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } ~^~~~~~~~~~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for variable __FUNCTION__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define 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_56263afe963fa770f9fd3a88c5cb9f0d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_56263afe963fa770f9fd3a88c5cb9f0d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:64:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&__FUNCTION__; return (int)_x; ^ ok -------------------------------------------------------- Checking for va_copy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define 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_0803ba2b9262ef87ef6179b385cee95a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0803ba2b9262ef87ef6179b385cee95a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0803ba2b9262ef87ef6179b385cee95a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0803ba2b9262ef87ef6179b385cee95a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef 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_803a7d1b7611590cc52b82b444ff0be7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_803a7d1b7611590cc52b82b444ff0be7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_803a7d1b7611590cc52b82b444ff0be7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_803a7d1b7611590cc52b82b444ff0be7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7e996db5293bf0e6f7d36a46141ca384/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7e996db5293bf0e6f7d36a46141ca384/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_85bad0278b96bc032262a399587453ac/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_85bad0278b96bc032262a399587453ac/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d1f3d5eefe028cedb03bd6e12370d9f8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d1f3d5eefe028cedb03bd6e12370d9f8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_75aec8c247f965aef39f434c2ed63c08/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_75aec8c247f965aef39f434c2ed63c08/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: acl/libacl.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header compat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_c7acbd17ea2330260b2c911bf57dd93e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c7acbd17ea2330260b2c911bf57dd93e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: compat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/xattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_71626186b006debcf8428d2226ffcd12/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_71626186b006debcf8428d2226ffcd12/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: attr/xattr.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_d558c148f7df209f36d9588139c8455d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d558c148f7df209f36d9588139c8455d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: dustat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_3613f7a9e641d00514727bde840dc4be/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3613f7a9e641d00514727bde840dc4be/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1f11610cc03e3244a47b94947633b312/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1f11610cc03e3244a47b94947633b312/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_25d812f7b86002d57cf18e4c3de177fe/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_25d812f7b86002d57cf18e4c3de177fe/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2cedad1096157adc14ec5f6c4a3d3a35/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2cedad1096157adc14ec5f6c4a3d3a35/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:72:10: fatal error: history.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header krb5.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4a73bc461c487911541aa3aff98ef625/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4a73bc461c487911541aa3aff98ef625/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:72:10: fatal error: krb5.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_52f2dcc635b687e1bac4bdc22623f8a7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_52f2dcc635b687e1bac4bdc22623f8a7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header libaio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_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_c794df26829070c8c3682a12d8636117/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c794df26829070c8c3682a12d8636117/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_dbcf1ee9278e23285d6c34b84f7595ee/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dbcf1ee9278e23285d6c34b84f7595ee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:74:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header pwd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e6bdcb0b8c5d52975c12c38f8f6b2579/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e6bdcb0b8c5d52975c12c38f8f6b2579/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_dbe66075c609b6545176e0667550daa9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dbe66075c609b6545176e0667550daa9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e9dafb0d6375e8dc1d36fed6bbbc5544/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e9dafb0d6375e8dc1d36fed6bbbc5544/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:76:10: fatal error: sys/acl.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_64fb24a4924ea047233a567af2a17c1d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_64fb24a4924ea047233a567af2a17c1d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:76:10: fatal error: sys/attributes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bffa6466ff0c552f7bbafe27956f0bde/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bffa6466ff0c552f7bbafe27956f0bde/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_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_f9e2f73e0fe2ecdc7caee4de87e65292/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f9e2f73e0fe2ecdc7caee4de87e65292/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/dir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_aa805c61c858a54cca002bb8f5bd3d70/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_aa805c61c858a54cca002bb8f5bd3d70/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d29daa3969cc183144e1ebe8ba1e3a38/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d29daa3969cc183144e1ebe8ba1e3a38/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2640b292d5214e94dc0a78ad55dc676c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2640b292d5214e94dc0a78ad55dc676c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:80:10: fatal error: port.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_198799ce92015e3f56f13209dce4e65a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_198799ce92015e3f56f13209dce4e65a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_de576e719b10d6f48baf511ecc48d9c6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_de576e719b10d6f48baf511ecc48d9c6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filsys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_06b89eaa10ac3562815cc01d848a5d57/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_06b89eaa10ac3562815cc01d848a5d57/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/filsys.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fs/s5param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9d409927f87ec08b28e8172573f867fc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9d409927f87ec08b28e8172573f867fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/fs/s5param.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/id.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_281f39d0c46b5116869bce29d08948d8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_281f39d0c46b5116869bce29d08948d8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/id.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ioctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2b4e9f44a55097f35a83006d835fa758/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2b4e9f44a55097f35a83006d835fa758/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #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_e0de7a18620e899f5c5c8b8e2f5961f7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e0de7a18620e899f5c5c8b8e2f5961f7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #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_08ce13fe8838534011ec4aded4766ce3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_08ce13fe8838534011ec4aded4766ce3/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_9087242a44c0bf4bdc2d16c857dfd327/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9087242a44c0bf4bdc2d16c857dfd327/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/mode.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_c4be2eff21a8a8ff38e37df29bce6382/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c4be2eff21a8a8ff38e37df29bce6382/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/priv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_197446302b31ffa376075d9c5763c8bd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_197446302b31ffa376075d9c5763c8bd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/priv.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/resource.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_ef7a2da972ae74b43edfbaf5bf10c503/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ef7a2da972ae74b43edfbaf5bf10c503/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_bea44be88bd6191e3151c46ff82e058c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bea44be88bd6191e3151c46ff82e058c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:85:10: fatal error: sys/security.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/shm.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_16017064ff827315517e02bbb12c33b2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_16017064ff827315517e02bbb12c33b2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #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_86dc9f1093d4c1ad239ad41d513da492/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_86dc9f1093d4c1ad239ad41d513da492/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #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_f264edcf1ff611a3d170063a7490c52b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f264edcf1ff611a3d170063a7490c52b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_cfc50945f17f76142f2676f8460e95d5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cfc50945f17f76142f2676f8460e95d5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:88:10: fatal error: sys/termio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/vfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_1e87f4d65cb92bf2e8c64f7064bc632b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1e87f4d65cb92bf2e8c64f7064bc632b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #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_acd3f1caf097b69d91d152b1aa980d5a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_acd3f1caf097b69d91d152b1aa980d5a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #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_7883b9782eff86f7849d75c940e9a27a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7883b9782eff86f7849d75c940e9a27a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 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_787b695ef980867d2a3bc5fd9fb08553/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_787b695ef980867d2a3bc5fd9fb08553/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_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_ba00e42324fa5c80d3df5e98a154fe37/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ba00e42324fa5c80d3df5e98a154fe37/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_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_6b8ef3f11ab145efdfd601c93397ebf9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6b8ef3f11ab145efdfd601c93397ebf9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_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_97b7a190eb5501a15524d29de5322be4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_97b7a190eb5501a15524d29de5322be4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 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_b1d41ffa87f0c42b7729500d154f1cd5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b1d41ffa87f0c42b7729500d154f1cd5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:99:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&malloc; return (int)_x; ^ ok -------------------------------------------------------- Checking for header grp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 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_f77134d8d58c4d74e2930d36fee90c1d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f77134d8d58c4d74e2930d36fee90c1d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_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_8945f3f5a781a4d081fb6a88beaf0c5f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8945f3f5a781a4d081fb6a88beaf0c5f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_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_5cd30c7e2637edb25694c1599d6c9ba2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5cd30c7e2637edb25694c1599d6c9ba2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_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_b0a6715d56fae1b6bdc5baa857ea6b9a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b0a6715d56fae1b6bdc5baa857ea6b9a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_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_68c6b59f8caccf36ca1cba065d626134/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_68c6b59f8caccf36ca1cba065d626134/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_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_c5171267565cd4c3ce62b12b57e8c237/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c5171267565cd4c3ce62b12b57e8c237/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_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_46c75054adbb580d3f8af4f3ba9cfcb1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_46c75054adbb580d3f8af4f3ba9cfcb1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_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_a01aeb23823422550d0af307934cd74c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a01aeb23823422550d0af307934cd74c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_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_ba23240b450c073d3f7b80d2659d356d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ba23240b450c073d3f7b80d2659d356d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header unix.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d47b00175c4c9f694799f2999cd69acb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d47b00175c4c9f694799f2999cd69acb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:105:10: fatal error: unix.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_209b2a7dd616c3239f86232767b83529/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_209b2a7dd616c3239f86232767b83529/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_34afa2832c9cba587166b9762d412962/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_34afa2832c9cba587166b9762d412962/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ea3b6d572a60ff90e54dba6e9dbe49e9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea3b6d572a60ff90e54dba6e9dbe49e9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a7dc26962af727ee4a9a3f487b70af8c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a7dc26962af727ee4a9a3f487b70af8c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 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_a95ad582013a9657b122a8e4f33d561d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a95ad582013a9657b122a8e4f33d561d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 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_ce41f59271de16737fe4d4deb08a284f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce41f59271de16737fe4d4deb08a284f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #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_0084770b1d3aaa8bae65f8a7fc609508/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0084770b1d3aaa8bae65f8a7fc609508/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #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_d42d740e74816cfcab4aeced5f3cc5ff/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d42d740e74816cfcab4aeced5f3cc5ff/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_c0e084541db58f2e8e774286202897df/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c0e084541db58f2e8e774286202897df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:120:10: fatal error: netinet/in_ip.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sockio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_90184737233d82dd4a553d81627342b5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_90184737233d82dd4a553d81627342b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:120:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/un.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_f02ad1fddd49c88107c991d837e0164c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f02ad1fddd49c88107c991d837e0164c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define 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_10ef8f3e5a6a6509c38bb96674df5b22/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_10ef8f3e5a6a6509c38bb96674df5b22/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #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_bde435f613d4b8e045d29bb08c8fd3ac/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bde435f613d4b8e045d29bb08c8fd3ac/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_3e3f039ad004b01ec73a0f1deeadaede/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3e3f039ad004b01ec73a0f1deeadaede/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:116:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dirent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_bb17bbb0b7cc0bc16e73f2b15964d9ee/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bb17bbb0b7cc0bc16e73f2b15964d9ee/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_b0ba0c81799aee100b6f055faba54821/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b0ba0c81799aee100b6f055faba54821/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header winsock2.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_a5a733f96fa5224f217c273558705e82/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a5a733f96fa5224f217c273558705e82/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ws2tcpip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_3697484f449c1b4394efcffd80dfaf1b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3697484f449c1b4394efcffd80dfaf1b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header errno.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_d099af8b99ca1b939918b1d3df8557f2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d099af8b99ca1b939918b1d3df8557f2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_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_aad776f05ced87a2dd6567ace26337af/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_aad776f05ced87a2dd6567ace26337af/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_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_d15d82a8d847964b060fb3661f9f1976/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d15d82a8d847964b060fb3661f9f1976/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define 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_900e2ed7ec6ccf051b69ec0f8988c964/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_900e2ed7ec6ccf051b69ec0f8988c964/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define 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_a5898c968cd8d2182bda4694b33deddf/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a5898c968cd8d2182bda4694b33deddf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:121:10: fatal error: sasl/sasl.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for inotify_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define 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_669801e339cb08be38f9cb1085d75f4c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_669801e339cb08be38f9cb1085d75f4c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_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_9546729145b95b1be9fc556fc6649f2d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9546729145b95b1be9fc556fc6649f2d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9546729145b95b1be9fc556fc6649f2d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9546729145b95b1be9fc556fc6649f2d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_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_ab85cbef2ce19c75a09b5666a453903d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ab85cbef2ce19c75a09b5666a453903d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header zlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7fcf93cd63f224f3179d76ccfb4e9ba7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fcf93cd63f224f3179d76ccfb4e9ba7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ebccf389116fc44b09266769cd245a85/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ebccf389116fc44b09266769cd245a85/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header aio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d44556a130d07fb56ac02e67b29eba33/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d44556a130d07fb56ac02e67b29eba33/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_86b2ac5a4106d6595ea0ca56ae1a3e1f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_86b2ac5a4106d6595ea0ca56ae1a3e1f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c57ecc44cbb719da6638ff0d2fe32fc2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c57ecc44cbb719da6638ff0d2fe32fc2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_23dd30398c1c79134243f6fdb1c176d4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_23dd30398c1c79134243f6fdb1c176d4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5f1f53c1d08e6b3ca324f1e21d107323/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5f1f53c1d08e6b3ca324f1e21d107323/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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_9532b356add9cf74cf73e744a76d1da3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9532b356add9cf74cf73e744a76d1da3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:131:10: fatal error: rpc/nettype.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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_0e755d636807f8b838ef71f57a6696ef/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0e755d636807f8b838ef71f57a6696ef/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:135:2: error: #error "no tirpc headers in system path" #error "no tirpc headers in system path" ^~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- 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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_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_1c08135d9ab78cd5d8f2ad2c6285fcc1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1c08135d9ab78cd5d8f2ad2c6285fcc1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: rpcsvc/yp_prot.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for libnsl ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/nis.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_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_9966b6ca6345129281424c7a5e0c7ca1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9966b6ca6345129281424c7a5e0c7ca1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: rpcsvc/nis.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/ypclnt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_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_da0a3186b596a5b4d59c82c266541263/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_da0a3186b596a5b4d59c82c266541263/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: rpcsvc/ypclnt.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_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_8fe148f1ed90a420d07ea2f8c3e29f64/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8fe148f1ed90a420d07ea2f8c3e29f64/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/fileio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7f7ab86b6342bd114cf0fafa155eb954/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f7ab86b6342bd114cf0fafa155eb954/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:133:10: fatal error: sys/fileio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filesys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_615eff7db7c7b6c895d4b2db9f805a08/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_615eff7db7c7b6c895d4b2db9f805a08/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:133:10: fatal error: sys/filesys.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_53c0d5506e346343717f191019032525/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_53c0d5506e346343717f191019032525/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:133:10: fatal error: sys/dustat.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysmacros.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4aad4958d65b383b343ccd3536f5809c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4aad4958d65b383b343ccd3536f5809c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_70d0e5a738ec46d19292010f4a01776c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_70d0e5a738ec46d19292010f4a01776c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: xfs/libxfs.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header netgroup.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a1bbcd6751d6623ba8bf5c63aa6c22e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a1bbcd6751d6623ba8bf5c63aa6c22e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: netgroup.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e12b1bc2048dcda545fe17bb5a609be4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e12b1bc2048dcda545fe17bb5a609be4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: valgrind.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ebd9b2bb6e3de2fcdec3ecaa630b3fdc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ebd9b2bb6e3de2fcdec3ecaa630b3fdc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/memcheck.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2e5cf045ef6e2e1375e9eac8b5b30eb4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2e5cf045ef6e2e1375e9eac8b5b30eb4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: valgrind/memcheck.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/helgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_036859654f0a536e532a974855bf8ab9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_036859654f0a536e532a974855bf8ab9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: valgrind/helgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nss_common.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5c7256326d00a43e5f3c7088a99fd3c9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5c7256326d00a43e5f3c7088a99fd3c9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: nss_common.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nsswitch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b7f3bdb890ee4ab7585dcd25d9fc4148/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b7f3bdb890ee4ab7585dcd25d9fc4148/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: nsswitch.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ns_api.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_60d22523790d0020f61cf386ae232b32/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60d22523790d0020f61cf386ae232b32/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: ns_api.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/extattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_748486fb6ae3380173ba31a8bf957827/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_748486fb6ae3380173ba31a8bf957827/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: sys/extattr.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ea.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_588781bf3ad9906db05068acf77a56e9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_588781bf3ad9906db05068acf77a56e9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: sys/ea.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/proplist.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7c93222272378986b2e571de6101b0d8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7c93222272378986b2e571de6101b0d8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: sys/proplist.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/cdefs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_760b6c8d22903b8a483aa6e86daa72b7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_760b6c8d22903b8a483aa6e86daa72b7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1b26b610443f5895b63ef668b17b3fd1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1b26b610443f5895b63ef668b17b3fd1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_90dd78273a3c4b841fbc45758fa8e866/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_90dd78273a3c4b841fbc45758fa8e866/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d8c154d31b8ea482eb2390f976876773/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d8c154d31b8ea482eb2390f976876773/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_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_9773d4679b2163f29d545545ba4a2877/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9773d4679b2163f29d545545ba4a2877/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_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_a2c575fb7de927a6ee5d4eae9c5ec243/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a2c575fb7de927a6ee5d4eae9c5ec243/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_01ce9a90fd4a087a7ea9015684505893/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_01ce9a90fd4a087a7ea9015684505893/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:140:10: fatal error: sys/atomic.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header stdatomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_d3dfaba450a02e2fa0d8ba91d947c137/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d3dfaba450a02e2fa0d8ba91d947c137/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_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_63f10c9eebcaf9ba5933f53a79c2fba4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_63f10c9eebcaf9ba5933f53a79c2fba4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_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_7e2c40c98ef3678fdc9f96efb3a5593c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7e2c40c98ef3678fdc9f96efb3a5593c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_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_fd3a8a6f19fec86c23face999e6dc504/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd3a8a6f19fec86c23face999e6dc504/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_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_0b77781a1044c6e780e581fb9fcb1be8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0b77781a1044c6e780e581fb9fcb1be8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 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_80da5ddc1b3d316184ea813957e416d9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_80da5ddc1b3d316184ea813957e416d9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #include int main(void) { prctl(0); return 0; } ; return 0; } <== [1/2] Compiling bin/.conf_check_fa829764d920372d7564b7a4589d8d89/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fa829764d920372d7564b7a4589d8d89/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fa829764d920372d7564b7a4589d8d89/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fa829764d920372d7564b7a4589d8d89/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_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_08220345c29bd050d0745634d2f6e214/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_08220345c29bd050d0745634d2f6e214/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_08220345c29bd050d0745634d2f6e214/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_08220345c29bd050d0745634d2f6e214/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_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_3dc01534f1e9159e749df39940ef7cf5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3dc01534f1e9159e749df39940ef7cf5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_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_694cb9c5a691d717b4560b078a647bd9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_694cb9c5a691d717b4560b078a647bd9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_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_5ca609d6e197286f99b4e39d4fa6924e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5ca609d6e197286f99b4e39d4fa6924e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define 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_858ab8f891e14a9f17c60be5ef092f20/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_858ab8f891e14a9f17c60be5ef092f20/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_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_c7c5a14a0b50778dec67296d8a1097da/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c7c5a14a0b50778dec67296d8a1097da/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_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_8f29398fbab76cda40281fefbbb8ae61/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8f29398fbab76cda40281fefbbb8ae61/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define 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_5c8bb0117f664d53258a5b81765401c7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5c8bb0117f664d53258a5b81765401c7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #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_c7eea1f10e556efdeb128b115bc1f573/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c7eea1f10e556efdeb128b115bc1f573/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #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_bd54749c39659ebfb9a10be4464b90f9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bd54749c39659ebfb9a10be4464b90f9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #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_02fa06c38eb17507a68ba4a932956fba/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_02fa06c38eb17507a68ba4a932956fba/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 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_2a59cfe5547655d0328f8a15131d6d89/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2a59cfe5547655d0328f8a15131d6d89/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #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_a400c13e9aebb6fc26b994370a81c1c5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a400c13e9aebb6fc26b994370a81c1c5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define 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_23820fab82f1d337cf48d9e737163e66/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_23820fab82f1d337cf48d9e737163e66/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define 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_a7deddc282831b37f6148e3c547ce3da/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a7deddc282831b37f6148e3c547ce3da/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define 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_f5df3ff63dc7beec1a63fadfcd075b2e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f5df3ff63dc7beec1a63fadfcd075b2e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define 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_a0b14a11324e41c368da911d1a2d5080/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a0b14a11324e41c368da911d1a2d5080/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define 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_ed119740e459be399b15b77a92e9d8c4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ed119740e459be399b15b77a92e9d8c4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define 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_c3d39036b36b3ce4d844171200d9eda5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c3d39036b36b3ce4d844171200d9eda5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define 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_354c376ab09e61be082388636a9d0256/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_354c376ab09e61be082388636a9d0256/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define 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_c0ca0e702df26c27d9dde752a7aa51c9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c0ca0e702df26c27d9dde752a7aa51c9/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 'offset_t'; did you mean 'offsetof'? int main(void) { offset_t _x; return 0; } ^~~~~~~~ offsetof from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for volatile int ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #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_b0463f6a55db9d66b27aa34579b51063/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b0463f6a55db9d66b27aa34579b51063/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 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_1473480d75972f7300d374f5175e4c3c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1473480d75972f7300d374f5175e4c3c/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:171:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'? int main(void) { uint_t _x; return 0; } ^~~~~~ uint8_t from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for blksize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_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_11313e7147199059037e989cde9bae47/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_11313e7147199059037e989cde9bae47/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_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_29cdd6c9d3b1538003a14f08b6e2dcc1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_29cdd6c9d3b1538003a14f08b6e2dcc1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_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_224d01d5a2fc3c20a93cca8a4564d375/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_224d01d5a2fc3c20a93cca8a4564d375/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_224d01d5a2fc3c20a93cca8a4564d375/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_224d01d5a2fc3c20a93cca8a4564d375/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 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_a3f19bfc538830a6d7c5195802f16afe/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a3f19bfc538830a6d7c5195802f16afe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a3f19bfc538830a6d7c5195802f16afe/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a3f19bfc538830a6d7c5195802f16afe/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_d258e66f197839cadc3f8e14dbc4d0fc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d258e66f197839cadc3f8e14dbc4d0fc/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 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_7714c4e4ec7d106a440eb257fbca5103/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7714c4e4ec7d106a440eb257fbca5103/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 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_dca1fe609afb9508b00bda27f0edeb19/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dca1fe609afb9508b00bda27f0edeb19/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dca1fe609afb9508b00bda27f0edeb19/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dca1fe609afb9508b00bda27f0edeb19/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_fb9af55836e9327db77abd6d4abd3be0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fb9af55836e9327db77abd6d4abd3be0/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 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_f27f519bd4510c3363d16b937bf38286/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f27f519bd4510c3363d16b937bf38286/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_37eb843a91c0d12659e48d4de5814817/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37eb843a91c0d12659e48d4de5814817/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_304670897adff947c606f2fcd68b3e03/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_304670897adff947c606f2fcd68b3e03/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_304670897adff947c606f2fcd68b3e03/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_304670897adff947c606f2fcd68b3e03/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_38704005af805f8dbf104ba198b872f1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_38704005af805f8dbf104ba198b872f1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_690dd8da5ec34cf98710eecd557ad314/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_690dd8da5ec34cf98710eecd557ad314/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_32c9e0872009c852cd7b0a7bc6429bd0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_32c9e0872009c852cd7b0a7bc6429bd0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_2543764d01cc3a1b29d62b9d1a5a286a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2543764d01cc3a1b29d62b9d1a5a286a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2543764d01cc3a1b29d62b9d1a5a286a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2543764d01cc3a1b29d62b9d1a5a286a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_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_16f2015d4c53a1c1f7fa943765a96b60/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_16f2015d4c53a1c1f7fa943765a96b60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of short == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_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_74e08dcca29ce95d5daa4e4158472086/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_74e08dcca29ce95d5daa4e4158472086/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_74e08dcca29ce95d5daa4e4158472086/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_74e08dcca29ce95d5daa4e4158472086/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_7cf96cc7bf92228b99647f89c621837c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7cf96cc7bf92228b99647f89c621837c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:181:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_a6f575a96b1a8f3fb7cf72f266083288/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a6f575a96b1a8f3fb7cf72f266083288/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_f8f0e3dd27b76bdeb246b1dd2c19d1c1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f8f0e3dd27b76bdeb246b1dd2c19d1c1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_e02cca87480e838e18767f76decfafdb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e02cca87480e838e18767f76decfafdb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e02cca87480e838e18767f76decfafdb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e02cca87480e838e18767f76decfafdb/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_e4b66b27c21c7098a5889c02c4e935fa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e4b66b27c21c7098a5889c02c4e935fa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_dbfa77848dd0f0b96db53345bee44b33/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dbfa77848dd0f0b96db53345bee44b33/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:183:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_ccb6190c2eb970568d5c8eced78242f4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ccb6190c2eb970568d5c8eced78242f4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:183:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_3d7dbb1ffd624e482638434e3d33bd8f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3d7dbb1ffd624e482638434e3d33bd8f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3d7dbb1ffd624e482638434e3d33bd8f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3d7dbb1ffd624e482638434e3d33bd8f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 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_f5494f8dc9b6a9b71249bac479ba7e7e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f5494f8dc9b6a9b71249bac479ba7e7e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f5494f8dc9b6a9b71249bac479ba7e7e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f5494f8dc9b6a9b71249bac479ba7e7e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 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_7b2f86ccf54af548abdb0d086c8883b6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7b2f86ccf54af548abdb0d086c8883b6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7b2f86ccf54af548abdb0d086c8883b6/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7b2f86ccf54af548abdb0d086c8883b6/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #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_f3cab8c17441e93ebeb1646f0180c1a8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f3cab8c17441e93ebeb1646f0180c1a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:185:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int16_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #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_6f2e6e24e327b75f2e55ea2e9c3dcf74/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6f2e6e24e327b75f2e55ea2e9c3dcf74/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6f2e6e24e327b75f2e55ea2e9c3dcf74/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6f2e6e24e327b75f2e55ea2e9c3dcf74/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define 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_b7468ec6c9fdbe988191bc8b161f809d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b7468ec6c9fdbe988191bc8b161f809d/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 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint16_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define 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_ec41c3b8ffa5dea1ae386893674863af/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec41c3b8ffa5dea1ae386893674863af/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ec41c3b8ffa5dea1ae386893674863af/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec41c3b8ffa5dea1ae386893674863af/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_b936b2fc73b5cae4f135e86829357d49/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b936b2fc73b5cae4f135e86829357d49/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:187:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int32_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_1a6452f018f7af9b2f0725743b3dc215/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1a6452f018f7af9b2f0725743b3dc215/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:188:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int32_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_2e095aa6bd54390e422a82834fe9564a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2e095aa6bd54390e422a82834fe9564a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2e095aa6bd54390e422a82834fe9564a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2e095aa6bd54390e422a82834fe9564a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_cd40e81ca61e301ac0a67450417529ff/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd40e81ca61e301ac0a67450417529ff/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:188:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint32_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_9158d1f810e82c8f86aee0ce3f7119f9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9158d1f810e82c8f86aee0ce3f7119f9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:189:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint32_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_a96a23718414b9da3670c7a4b00d8c1a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a96a23718414b9da3670c7a4b00d8c1a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a96a23718414b9da3670c7a4b00d8c1a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a96a23718414b9da3670c7a4b00d8c1a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_d14866d05d9785172aaba2067f3dbabe/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d14866d05d9785172aaba2067f3dbabe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:189:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_bc1bbda22737aa412b1f5b142620abc9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bc1bbda22737aa412b1f5b142620abc9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:190:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_24f16cd80e17b9cc55b67a5a2c575dcb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_24f16cd80e17b9cc55b67a5a2c575dcb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:190:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_fd4c93205ae4f83647e9972375fcae0a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd4c93205ae4f83647e9972375fcae0a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fd4c93205ae4f83647e9972375fcae0a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd4c93205ae4f83647e9972375fcae0a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_000a98c544b6d0c5ef5bf26aef60b3a6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_000a98c544b6d0c5ef5bf26aef60b3a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:190:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_776b60d9a06b54b6996231722b5ea209/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_776b60d9a06b54b6996231722b5ea209/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:191:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_38e342313c847f9c1cb4d7a3f13236d5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_38e342313c847f9c1cb4d7a3f13236d5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:191:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_9aa84e98226d7ed0d0d6ab71f62cbded/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9aa84e98226d7ed0d0d6ab71f62cbded/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9aa84e98226d7ed0d0d6ab71f62cbded/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9aa84e98226d7ed0d0d6ab71f62cbded/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_8e5f63228db4299f46df7661ce7d82fc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8e5f63228db4299f46df7661ce7d82fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:191:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_ae69c6f77a4ba27f6f401926330fd6a0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ae69c6f77a4ba27f6f401926330fd6a0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_0b17cde6afd229b38378b2d6b5e51422/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0b17cde6afd229b38378b2d6b5e51422/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_bb9a4c9c0a19c5397c3c6fcde0a20e64/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bb9a4c9c0a19c5397c3c6fcde0a20e64/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bb9a4c9c0a19c5397c3c6fcde0a20e64/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bb9a4c9c0a19c5397c3c6fcde0a20e64/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_d9d5d29badb8ba0f644424fdd7fb1373/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d9d5d29badb8ba0f644424fdd7fb1373/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_e83272981b140883ea292accd156dd5d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e83272981b140883ea292accd156dd5d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_93b4dce85b45674b5924bb559b76753f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_93b4dce85b45674b5924bb559b76753f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_f22dd7fd5df3c8d7dda6e4865f8550eb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f22dd7fd5df3c8d7dda6e4865f8550eb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f22dd7fd5df3c8d7dda6e4865f8550eb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f22dd7fd5df3c8d7dda6e4865f8550eb/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_c3046f6781b4e9f8e46f2f3d89759f6a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c3046f6781b4e9f8e46f2f3d89759f6a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_ea87fbfb4d287f0208335730d1865bd4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea87fbfb4d287f0208335730d1865bd4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_8991b3c039c35b54827123d483b19ae3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8991b3c039c35b54827123d483b19ae3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_819da045d546db4f6f9de95e58d9ab02/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_819da045d546db4f6f9de95e58d9ab02/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_819da045d546db4f6f9de95e58d9ab02/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_819da045d546db4f6f9de95e58d9ab02/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_31c3ff9dee71407e2bc916df306f2511/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_31c3ff9dee71407e2bc916df306f2511/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_bb95b0e8d26929c1ccb06662c1e37b4b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bb95b0e8d26929c1ccb06662c1e37b4b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_796e732508b16320b6b2be900717ba41/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_796e732508b16320b6b2be900717ba41/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_d85c5d8269c572019ba3f56ff8c8e9fd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d85c5d8269c572019ba3f56ff8c8e9fd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d85c5d8269c572019ba3f56ff8c8e9fd/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d85c5d8269c572019ba3f56ff8c8e9fd/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_8d87c3f4b9018562847cb5013919bafc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8d87c3f4b9018562847cb5013919bafc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_49d1a0bdf078ccbaff9a3a3f5e0eb070/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_49d1a0bdf078ccbaff9a3a3f5e0eb070/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:196:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_fbfc81c2fc64d6a5a45cd988b398d35b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fbfc81c2fc64d6a5a45cd988b398d35b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:196:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_7f7b2dc9c956861fc1433949826001a5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f7b2dc9c956861fc1433949826001a5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7f7b2dc9c956861fc1433949826001a5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f7b2dc9c956861fc1433949826001a5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define 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_362c4b07d368c4c56440b3e67fc157e4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_362c4b07d368c4c56440b3e67fc157e4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define 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_e9a49496d98788839f6da789aee2bf15/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e9a49496d98788839f6da789aee2bf15/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define 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_892e91fcc5568ef96d9ad83f8e4d0886/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_892e91fcc5568ef96d9ad83f8e4d0886/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define 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_a48c2df1b2fe5f12020df4208a9ffd55/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a48c2df1b2fe5f12020df4208a9ffd55/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define 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_ba5c19846553dc885912c11b9125e6ad/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ba5c19846553dc885912c11b9125e6ad/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ba5c19846553dc885912c11b9125e6ad/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ba5c19846553dc885912c11b9125e6ad/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_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_d95ce78048cfbf924a357e24e4e92b3a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d95ce78048cfbf924a357e24e4e92b3a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_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_d7112a0dbdaacdf1265a4916a44f536d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d7112a0dbdaacdf1265a4916a44f536d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 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_ac4d89ba60cf0716cb97fe2c406235c7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ac4d89ba60cf0716cb97fe2c406235c7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_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_31802be0482e9a665bc93fbf987be747/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_31802be0482e9a665bc93fbf987be747/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_31802be0482e9a665bc93fbf987be747/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_31802be0482e9a665bc93fbf987be747/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #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_95956f1448ac8ff922c42e3583b4e072/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_95956f1448ac8ff922c42e3583b4e072/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_95956f1448ac8ff922c42e3583b4e072/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_95956f1448ac8ff922c42e3583b4e072/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): warning: warning: `siggetmask' is obsolete; `sigprocmask' is best ok -------------------------------------------------------- Checking for sigprocmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_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_cdff270709918d5a0e12188e47e233cb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cdff270709918d5a0e12188e47e233cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cdff270709918d5a0e12188e47e233cb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cdff270709918d5a0e12188e47e233cb/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_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_4f60eb6de9cfa65bdc2f6701d12468d0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4f60eb6de9cfa65bdc2f6701d12468d0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4f60eb6de9cfa65bdc2f6701d12468d0/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4f60eb6de9cfa65bdc2f6701d12468d0/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #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_3590aef613fd97fb2d9503036bd5140a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3590aef613fd97fb2d9503036bd5140a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3590aef613fd97fb2d9503036bd5140a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3590aef613fd97fb2d9503036bd5140a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_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_02e16e3e87c0c3edc88e20887bd25e8e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_02e16e3e87c0c3edc88e20887bd25e8e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_02e16e3e87c0c3edc88e20887bd25e8e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_02e16e3e87c0c3edc88e20887bd25e8e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define 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_8d4b6b684703e31495c466ffa8d58e75/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8d4b6b684703e31495c466ffa8d58e75/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8d4b6b684703e31495c466ffa8d58e75/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8d4b6b684703e31495c466ffa8d58e75/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_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_1449543111c53aa92dd2f41dbcc90a7a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1449543111c53aa92dd2f41dbcc90a7a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1449543111c53aa92dd2f41dbcc90a7a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1449543111c53aa92dd2f41dbcc90a7a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 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_7d7bd313d36b9c56c254cd738c58817e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7d7bd313d36b9c56c254cd738c58817e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7d7bd313d36b9c56c254cd738c58817e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7d7bd313d36b9c56c254cd738c58817e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #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_ea90dbba691381ee74454e2c055a4cc7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea90dbba691381ee74454e2c055a4cc7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ea90dbba691381ee74454e2c055a4cc7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea90dbba691381ee74454e2c055a4cc7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define 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_ce07820e8ded49d17664be78bd69088a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce07820e8ded49d17664be78bd69088a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ce07820e8ded49d17664be78bd69088a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce07820e8ded49d17664be78bd69088a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define 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_d37853cdbfd8da5402ebf6f12088b6e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d37853cdbfd8da5402ebf6f12088b6e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d37853cdbfd8da5402ebf6f12088b6e2/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d37853cdbfd8da5402ebf6f12088b6e2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #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_deb79f5aed21d92ebb8ecec1ac3cfcf0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_deb79f5aed21d92ebb8ecec1ac3cfcf0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_deb79f5aed21d92ebb8ecec1ac3cfcf0/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_deb79f5aed21d92ebb8ecec1ac3cfcf0/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 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_ae677443c0933001ea0b2c495674be00/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ae677443c0933001ea0b2c495674be00/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ae677443c0933001ea0b2c495674be00/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ae677443c0933001ea0b2c495674be00/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_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_93736e593bac7a6f92f537619332610a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_93736e593bac7a6f92f537619332610a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_93736e593bac7a6f92f537619332610a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_93736e593bac7a6f92f537619332610a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_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_a860d8b205f518f29d90097d1c474911/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a860d8b205f518f29d90097d1c474911/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a860d8b205f518f29d90097d1c474911/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a860d8b205f518f29d90097d1c474911/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_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_86cd6bf56734bc929bd6f4e729ec7295/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_86cd6bf56734bc929bd6f4e729ec7295/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_86cd6bf56734bc929bd6f4e729ec7295/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_86cd6bf56734bc929bd6f4e729ec7295/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define 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_4ca4b8fd6b0a5e7bd87f0ff1dfb00ca7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4ca4b8fd6b0a5e7bd87f0ff1dfb00ca7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4ca4b8fd6b0a5e7bd87f0ff1dfb00ca7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4ca4b8fd6b0a5e7bd87f0ff1dfb00ca7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `memset_s' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_e197f83041d7c3d312fbe572e826efc3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e197f83041d7c3d312fbe572e826efc3/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:222:39: error: 'memset_s' undeclared (first use in this function); did you mean 'memset'? int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } ^~~~~~~~ memset ../../test.c:222:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:222:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for memset_explicit ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_d4e102148b95e845ff618a9de9e51844/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4e102148b95e845ff618a9de9e51844/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d4e102148b95e845ff618a9de9e51844/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4e102148b95e845ff618a9de9e51844/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `memset_explicit' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4baa996ea13ceed8787979e378f9b9a6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4baa996ea13ceed8787979e378f9b9a6/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:223:39: error: 'memset_explicit' undeclared (first use in this function) int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } ^~~~~~~~~~~~~~~ ../../test.c:223:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:223:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for volatile memory protection ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_c66ec5bf7df09457bd6f16f0b8bbabcb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c66ec5bf7df09457bd6f16f0b8bbabcb/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:37: warning: null character(s) preserved in literal memset(buf, ' ', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory"); ^ [2/2] Linking bin/.conf_check_c66ec5bf7df09457bd6f16f0b8bbabcb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c66ec5bf7df09457bd6f16f0b8bbabcb/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #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_29e8ef0179df8ab3d135f7ac980664d1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_29e8ef0179df8ab3d135f7ac980664d1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #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_6797ee61dc756c06a10d7c7c08011b6c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6797ee61dc756c06a10d7c7c08011b6c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_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_231fee972132fededc0bbb5f68355ef4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_231fee972132fededc0bbb5f68355ef4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_231fee972132fededc0bbb5f68355ef4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_231fee972132fededc0bbb5f68355ef4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_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_7ebf2382ad37f90726d66cc6071cd144/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7ebf2382ad37f90726d66cc6071cd144/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7ebf2382ad37f90726d66cc6071cd144/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7ebf2382ad37f90726d66cc6071cd144/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_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_b7e46141bfeca24cf6bbaa1aa166963f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b7e46141bfeca24cf6bbaa1aa166963f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b7e46141bfeca24cf6bbaa1aa166963f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b7e46141bfeca24cf6bbaa1aa166963f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_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_07ab218b2190eda894eba268c5c4e284/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_07ab218b2190eda894eba268c5c4e284/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:21: warning: implicit declaration of function 'atomic_add_32'; did you mean '__atomic_load_2'? [-Wimplicit-function-declaration] atomic_add_32(&i, 1); ^~~~~~~~~~~~~ __atomic_load_2 [2/2] Linking bin/.conf_check_07ab218b2190eda894eba268c5c4e284/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_07ab218b2190eda894eba268c5c4e284/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x10): undefined reference to `atomic_add_32' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for atomic_thread_fence(memory_order_seq_cst) in stdatomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_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_fa4eed818da31aa1fafc25a97fab48f2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fa4eed818da31aa1fafc25a97fab48f2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fa4eed818da31aa1fafc25a97fab48f2/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fa4eed818da31aa1fafc25a97fab48f2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define 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_1a5db5da84d65999632bf1f0a856cbe0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=missing-declarations', '-Werror', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1a5db5da84d65999632bf1f0a856cbe0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1a5db5da84d65999632bf1f0a856cbe0/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1a5db5da84d65999632bf1f0a856cbe0/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 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_bf20e67d482a971448b467cc4f6e7f2b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bf20e67d482a971448b467cc4f6e7f2b/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] 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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_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_23421c194c3f91743d807563cf58eb72/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_23421c194c3f91743d807563cf58eb72/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] 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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_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_0618dc0b682d4e17a59b650b3a5b0f4b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0618dc0b682d4e17a59b650b3a5b0f4b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:237:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #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_c24e10e7b233baa0f167dae403ab2573/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c24e10e7b233baa0f167dae403ab2573/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:238:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_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_bdc3860b387ec81a7753c7d7d710bd40/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bdc3860b387ec81a7753c7d7d710bd40/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:239:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define 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_163be2198fbc13879480e3064acc8ffc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_163be2198fbc13879480e3064acc8ffc/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:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memmove; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for strcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #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_1b544ea3f76169ae5347cbba410b5777/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1b544ea3f76169ae5347cbba410b5777/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:241:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #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_4007fd89464e6f91bf33bcf4fc4e8baa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4007fd89464e6f91bf33bcf4fc4e8baa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:242:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #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_14a76854fed7d8671859f1837d84ca6f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_14a76854fed7d8671859f1837d84ca6f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:243:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bzero; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for shl_load ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #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_3ed7b51ba950a9213ca2f1698e6eea4c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3ed7b51ba950a9213ca2f1698e6eea4c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3ed7b51ba950a9213ca2f1698e6eea4c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3ed7b51ba950a9213ca2f1698e6eea4c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_load' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #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_247c905f9218bad5b749b0942eea8a10/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_247c905f9218bad5b749b0942eea8a10/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:243:39: error: 'shl_load' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } ^~~~~~~~ ../../test.c:243:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:243:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for shl_unload ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #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_948a4c33f455e0d4b53d151eb70b377d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_948a4c33f455e0d4b53d151eb70b377d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_948a4c33f455e0d4b53d151eb70b377d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_948a4c33f455e0d4b53d151eb70b377d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_unload' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #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_230568440e2eba5c85b97daebbdee708/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_230568440e2eba5c85b97daebbdee708/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:244:39: error: 'shl_unload' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } ^~~~~~~~~~ ../../test.c:244:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:244:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for shl_findsym ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #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_d289dd46aafde81ab060f87d643d9b78/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d289dd46aafde81ab060f87d643d9b78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d289dd46aafde81ab060f87d643d9b78/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d289dd46aafde81ab060f87d643d9b78/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_findsym' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #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_eeecf5795604a42e21b17e3f646706b9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_eeecf5795604a42e21b17e3f646706b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:245:39: error: 'shl_findsym' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } ^~~~~~~~~~~ ../../test.c:245:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:245:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for pipe ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define 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_f8855e092dbd459c6c6c531eab64bf2d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f8855e092dbd459c6c6c531eab64bf2d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f8855e092dbd459c6c6c531eab64bf2d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f8855e092dbd459c6c6c531eab64bf2d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define 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_944b7b155c61dbb8039e6ccdf8921a3e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_944b7b155c61dbb8039e6ccdf8921a3e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:243:38: warning: conflicting types for built-in function 'strftime' [-Wbuiltin-declaration-mismatch] extern char strftime(); ^~~~~~~~ [2/2] Linking bin/.conf_check_944b7b155c61dbb8039e6ccdf8921a3e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_944b7b155c61dbb8039e6ccdf8921a3e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define 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_60e67357d30a0d9c488bacd1182e0f67/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60e67357d30a0d9c488bacd1182e0f67/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_60e67357d30a0d9c488bacd1182e0f67/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60e67357d30a0d9c488bacd1182e0f67/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef 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_b388b7df4bed00e2cacf2b670c0f0ba2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b388b7df4bed00e2cacf2b670c0f0ba2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b388b7df4bed00e2cacf2b670c0f0ba2/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b388b7df4bed00e2cacf2b670c0f0ba2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef 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_6040bc6b54a711696016b8f77081c8bd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6040bc6b54a711696016b8f77081c8bd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6040bc6b54a711696016b8f77081c8bd/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6040bc6b54a711696016b8f77081c8bd/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef 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_d4f220a9c1e9ed91c42d53dd5fc37496/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4f220a9c1e9ed91c42d53dd5fc37496/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d4f220a9c1e9ed91c42d53dd5fc37496/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4f220a9c1e9ed91c42d53dd5fc37496/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define 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_0d5f3621cd2ca62b322c08e5fe6ac182/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0d5f3621cd2ca62b322c08e5fe6ac182/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0d5f3621cd2ca62b322c08e5fe6ac182/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0d5f3621cd2ca62b322c08e5fe6ac182/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define 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_a010bcb1f33a63662c1e7bd8a2e22e5b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a010bcb1f33a63662c1e7bd8a2e22e5b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a010bcb1f33a63662c1e7bd8a2e22e5b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a010bcb1f33a63662c1e7bd8a2e22e5b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define 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_caff4ab54ea61dd7e8be83f317a94c38/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_caff4ab54ea61dd7e8be83f317a94c38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_caff4ab54ea61dd7e8be83f317a94c38/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_caff4ab54ea61dd7e8be83f317a94c38/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define 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_98450df6fa04a0305bf1b768b69f7d3b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_98450df6fa04a0305bf1b768b69f7d3b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_98450df6fa04a0305bf1b768b69f7d3b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_98450df6fa04a0305bf1b768b69f7d3b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define 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_38f6237149b3524c18908d6c7e351555/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_38f6237149b3524c18908d6c7e351555/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_38f6237149b3524c18908d6c7e351555/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_38f6237149b3524c18908d6c7e351555/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define 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_1dfff8ffb6384628dab27c0d83ce6fa7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1dfff8ffb6384628dab27c0d83ce6fa7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1dfff8ffb6384628dab27c0d83ce6fa7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1dfff8ffb6384628dab27c0d83ce6fa7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define 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_6502e790443c5bb64afd2c25a518e14d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6502e790443c5bb64afd2c25a518e14d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6502e790443c5bb64afd2c25a518e14d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6502e790443c5bb64afd2c25a518e14d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define 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_8a090e3ad885c7bb66e00913211f262e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8a090e3ad885c7bb66e00913211f262e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8a090e3ad885c7bb66e00913211f262e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8a090e3ad885c7bb66e00913211f262e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define 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_ff655a8f095b6be9f832a9c63177548b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ff655a8f095b6be9f832a9c63177548b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ff655a8f095b6be9f832a9c63177548b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ff655a8f095b6be9f832a9c63177548b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define 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_a34ce377a1237fa7ec981173619581b7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a34ce377a1237fa7ec981173619581b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a34ce377a1237fa7ec981173619581b7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a34ce377a1237fa7ec981173619581b7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define 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_9197687a4892e35bc7ef3fb8029e7002/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9197687a4892e35bc7ef3fb8029e7002/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9197687a4892e35bc7ef3fb8029e7002/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9197687a4892e35bc7ef3fb8029e7002/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define 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_cde49f0dd5afa2b6b9faebf289138914/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cde49f0dd5afa2b6b9faebf289138914/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cde49f0dd5afa2b6b9faebf289138914/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cde49f0dd5afa2b6b9faebf289138914/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define 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_73ad6cf907b404fbe7d04dc8aa308df4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_73ad6cf907b404fbe7d04dc8aa308df4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_73ad6cf907b404fbe7d04dc8aa308df4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_73ad6cf907b404fbe7d04dc8aa308df4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define 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_5f3ce3069cfb18b298d41e5b11581760/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5f3ce3069cfb18b298d41e5b11581760/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5f3ce3069cfb18b298d41e5b11581760/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5f3ce3069cfb18b298d41e5b11581760/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define 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_925f59c638c7dad173d8aeac45e368a9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_925f59c638c7dad173d8aeac45e368a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_925f59c638c7dad173d8aeac45e368a9/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_925f59c638c7dad173d8aeac45e368a9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define 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_e2fb2f8d4b712a9fd6057e6268d6abf3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e2fb2f8d4b712a9fd6057e6268d6abf3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e2fb2f8d4b712a9fd6057e6268d6abf3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e2fb2f8d4b712a9fd6057e6268d6abf3/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define 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_110a743b81f1b5e844130451f253a389/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_110a743b81f1b5e844130451f253a389/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_110a743b81f1b5e844130451f253a389/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_110a743b81f1b5e844130451f253a389/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define 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_28aeda4e4a703480a3c7c1c56d9e0ba8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_28aeda4e4a703480a3c7c1c56d9e0ba8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_28aeda4e4a703480a3c7c1c56d9e0ba8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_28aeda4e4a703480a3c7c1c56d9e0ba8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define 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_7799f8d3641a77908bbf8022ed80558c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7799f8d3641a77908bbf8022ed80558c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7799f8d3641a77908bbf8022ed80558c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7799f8d3641a77908bbf8022ed80558c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define 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_fed71451b5065e766a0d15215fc7497f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fed71451b5065e766a0d15215fc7497f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fed71451b5065e766a0d15215fc7497f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fed71451b5065e766a0d15215fc7497f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #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_740bd80bf1ac8f3884984913a43bba37/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_740bd80bf1ac8f3884984913a43bba37/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_740bd80bf1ac8f3884984913a43bba37/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_740bd80bf1ac8f3884984913a43bba37/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `chsize' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 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_ce040c93e11a52312d8df464bffc02af/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce040c93e11a52312d8df464bffc02af/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:272:39: error: 'chsize' undeclared (first use in this function); did you mean 'chdir'? int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } ^~~~~~ chdir ../../test.c:272:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:272:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for rename ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #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_b1fa3bef1af88c8c1af4e86c38168a38/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b1fa3bef1af88c8c1af4e86c38168a38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b1fa3bef1af88c8c1af4e86c38168a38/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b1fa3bef1af88c8c1af4e86c38168a38/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #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_7fee5be8f06fa078d170305ab8d7da0e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fee5be8f06fa078d170305ab8d7da0e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7fee5be8f06fa078d170305ab8d7da0e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fee5be8f06fa078d170305ab8d7da0e/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #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_3b74692c43ef776e9a15fbeb6491482c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3b74692c43ef776e9a15fbeb6491482c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3b74692c43ef776e9a15fbeb6491482c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3b74692c43ef776e9a15fbeb6491482c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #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_729ec5d06968b04986157d37f550ab5d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_729ec5d06968b04986157d37f550ab5d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_729ec5d06968b04986157d37f550ab5d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_729ec5d06968b04986157d37f550ab5d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #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_acfac92b29edf7cb9ea7b38967da6aa8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_acfac92b29edf7cb9ea7b38967da6aa8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_acfac92b29edf7cb9ea7b38967da6aa8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_acfac92b29edf7cb9ea7b38967da6aa8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #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_6d207113d3ab984aca82b8a616192e5c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6d207113d3ab984aca82b8a616192e5c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6d207113d3ab984aca82b8a616192e5c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6d207113d3ab984aca82b8a616192e5c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define 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_d9ceb9c4a321b4f2807a739507207eb9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d9ceb9c4a321b4f2807a739507207eb9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:275:38: warning: conflicting types for built-in function 'strndup' [-Wbuiltin-declaration-mismatch] extern char strndup(); ^~~~~~~ [2/2] Linking bin/.conf_check_d9ceb9c4a321b4f2807a739507207eb9/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d9ceb9c4a321b4f2807a739507207eb9/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define 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_40ab348b4d5ad136ac643b45bdd04189/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_40ab348b4d5ad136ac643b45bdd04189/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_40ab348b4d5ad136ac643b45bdd04189/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_40ab348b4d5ad136ac643b45bdd04189/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define 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_0c8a2d69da02a1465eb030e2ba022b9d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0c8a2d69da02a1465eb030e2ba022b9d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0c8a2d69da02a1465eb030e2ba022b9d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0c8a2d69da02a1465eb030e2ba022b9d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define 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_a26223872009f7b2208daa2f627860dd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a26223872009f7b2208daa2f627860dd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a26223872009f7b2208daa2f627860dd/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a26223872009f7b2208daa2f627860dd/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_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_0590a68cbd4dd60a703c5bb1d066efb5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0590a68cbd4dd60a703c5bb1d066efb5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0590a68cbd4dd60a703c5bb1d066efb5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0590a68cbd4dd60a703c5bb1d066efb5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_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_a8f37514ccde11d1065c314155e592a7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a8f37514ccde11d1065c314155e592a7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a8f37514ccde11d1065c314155e592a7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a8f37514ccde11d1065c314155e592a7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_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_8b860c6989a837c8cb086b3dc714548b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8b860c6989a837c8cb086b3dc714548b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8b860c6989a837c8cb086b3dc714548b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8b860c6989a837c8cb086b3dc714548b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_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_2251aaedaca164fed25951f43d79c45a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2251aaedaca164fed25951f43d79c45a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2251aaedaca164fed25951f43d79c45a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2251aaedaca164fed25951f43d79c45a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_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_13dc03916cc0b3e1ffae919730fb1e76/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_13dc03916cc0b3e1ffae919730fb1e76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_13dc03916cc0b3e1ffae919730fb1e76/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_13dc03916cc0b3e1ffae919730fb1e76/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_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_ab542530da5b41d849d4e7ee4b864fba/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ab542530da5b41d849d4e7ee4b864fba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ab542530da5b41d849d4e7ee4b864fba/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ab542530da5b41d849d4e7ee4b864fba/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define 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_d6af3204c4e6b24cac28d802c5db461d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d6af3204c4e6b24cac28d802c5db461d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d6af3204c4e6b24cac28d802c5db461d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d6af3204c4e6b24cac28d802c5db461d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define 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_fb5126fa1446635b5ebca69ad322e922/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fb5126fa1446635b5ebca69ad322e922/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fb5126fa1446635b5ebca69ad322e922/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fb5126fa1446635b5ebca69ad322e922/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define 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_9982cac98a34a9ce2b03f0e6c15de0ec/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9982cac98a34a9ce2b03f0e6c15de0ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9982cac98a34a9ce2b03f0e6c15de0ec/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9982cac98a34a9ce2b03f0e6c15de0ec/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define 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_6efcb8c05d77d6610facf373d64319d8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6efcb8c05d77d6610facf373d64319d8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6efcb8c05d77d6610facf373d64319d8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6efcb8c05d77d6610facf373d64319d8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define 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_ef829e4f7170cfa3f9d5a93ef4c3fbf7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ef829e4f7170cfa3f9d5a93ef4c3fbf7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ef829e4f7170cfa3f9d5a93ef4c3fbf7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ef829e4f7170cfa3f9d5a93ef4c3fbf7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define 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_7f46ab08019a244f44ee6c54e9a5c344/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f46ab08019a244f44ee6c54e9a5c344/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:290:38: warning: conflicting types for built-in function 'snprintf' [-Wbuiltin-declaration-mismatch] extern char snprintf(); ^~~~~~~~ [2/2] Linking bin/.conf_check_7f46ab08019a244f44ee6c54e9a5c344/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f46ab08019a244f44ee6c54e9a5c344/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define 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_3101e76a5bc888eea13847cd9451f286/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3101e76a5bc888eea13847cd9451f286/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:291:38: warning: conflicting types for built-in function 'vsnprintf' [-Wbuiltin-declaration-mismatch] extern char vsnprintf(); ^~~~~~~~~ [2/2] Linking bin/.conf_check_3101e76a5bc888eea13847cd9451f286/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3101e76a5bc888eea13847cd9451f286/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define 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_ddd68e599e44dfb37f2df5550ce8df83/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ddd68e599e44dfb37f2df5550ce8df83/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ddd68e599e44dfb37f2df5550ce8df83/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ddd68e599e44dfb37f2df5550ce8df83/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define 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_cc43ecb1f648ccc986238084ce4b485f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cc43ecb1f648ccc986238084ce4b485f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cc43ecb1f648ccc986238084ce4b485f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cc43ecb1f648ccc986238084ce4b485f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define 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_2a68dea263a60fc91f379f29e195bce7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2a68dea263a60fc91f379f29e195bce7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2a68dea263a60fc91f379f29e195bce7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2a68dea263a60fc91f379f29e195bce7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define 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_5d4326c2f8b7c5a0cd9c282fec64c2c4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5d4326c2f8b7c5a0cd9c282fec64c2c4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5d4326c2f8b7c5a0cd9c282fec64c2c4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5d4326c2f8b7c5a0cd9c282fec64c2c4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define 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_eb8174559d2af77e6c5cb45cb2bd161b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_eb8174559d2af77e6c5cb45cb2bd161b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_eb8174559d2af77e6c5cb45cb2bd161b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_eb8174559d2af77e6c5cb45cb2bd161b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define 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_868e3bd035ddd3735ce14aa593687344/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_868e3bd035ddd3735ce14aa593687344/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_868e3bd035ddd3735ce14aa593687344/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_868e3bd035ddd3735ce14aa593687344/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #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_dcf31cc7f3527a6e5d39eed9a5964c0e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcf31cc7f3527a6e5d39eed9a5964c0e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dcf31cc7f3527a6e5d39eed9a5964c0e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcf31cc7f3527a6e5d39eed9a5964c0e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 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_7d4c8d3fc3bdebb85d1bd4831a436224/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7d4c8d3fc3bdebb85d1bd4831a436224/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: '__strtoull' undeclared (first use in this function); did you mean 'strtoull'? int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } ^~~~~~~~~~ strtoull ../../test.c:302:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:302:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for strtouq ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #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_cdf8460475dfc50ad1d9f94dd919b001/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cdf8460475dfc50ad1d9f94dd919b001/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cdf8460475dfc50ad1d9f94dd919b001/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cdf8460475dfc50ad1d9f94dd919b001/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #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_9d6d27ab9ad5c83ddbc4d96550a0eb51/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9d6d27ab9ad5c83ddbc4d96550a0eb51/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9d6d27ab9ad5c83ddbc4d96550a0eb51/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9d6d27ab9ad5c83ddbc4d96550a0eb51/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 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_255389c0cf91d8aada50720003dec0c4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_255389c0cf91d8aada50720003dec0c4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_255389c0cf91d8aada50720003dec0c4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_255389c0cf91d8aada50720003dec0c4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `__strtoll' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_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_e622e4538e2aa47b6f8fc178735bffb7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e622e4538e2aa47b6f8fc178735bffb7/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:305:39: error: '__strtoll' undeclared (first use in this function); did you mean 'strtoll'? int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } ^~~~~~~~~ strtoll ../../test.c:305:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:305:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for strtoq ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 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_ec5599af11157da8887ef2a2d49bb6e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec5599af11157da8887ef2a2d49bb6e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ec5599af11157da8887ef2a2d49bb6e2/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec5599af11157da8887ef2a2d49bb6e2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 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_435d776ff05a9e42f88f49dd587b0a69/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_435d776ff05a9e42f88f49dd587b0a69/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_435d776ff05a9e42f88f49dd587b0a69/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_435d776ff05a9e42f88f49dd587b0a69/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 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_7fa10d52e5904790c0e8406f1ac8b738/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fa10d52e5904790c0e8406f1ac8b738/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:304:38: warning: conflicting types for built-in function 'posix_memalign' [-Wbuiltin-declaration-mismatch] extern char posix_memalign(); ^~~~~~~~~~~~~~ [2/2] Linking bin/.conf_check_7fa10d52e5904790c0e8406f1ac8b738/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fa10d52e5904790c0e8406f1ac8b738/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define 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_f902427ea89fc5d94ae68e7c060a5fdb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f902427ea89fc5d94ae68e7c060a5fdb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f902427ea89fc5d94ae68e7c060a5fdb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f902427ea89fc5d94ae68e7c060a5fdb/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #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_bcabb68042b4c9a1e27c15d530285f89/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bcabb68042b4c9a1e27c15d530285f89/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef 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_0f22a80a06217aab634022205f05b8a1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0f22a80a06217aab634022205f05b8a1/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:313:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memalign; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for posix_fallocate-capable libc ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 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_b86d93fbcfec6d816dfad2b241b360d8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b86d93fbcfec6d816dfad2b241b360d8/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:312:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33:0, from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from ../../test.c:296: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:203:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 [2/2] Linking bin/.conf_check_b86d93fbcfec6d816dfad2b241b360d8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b86d93fbcfec6d816dfad2b241b360d8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_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_585e27b8dbab357b4a6c09bfad17efa1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_585e27b8dbab357b4a6c09bfad17efa1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_585e27b8dbab357b4a6c09bfad17efa1/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_585e27b8dbab357b4a6c09bfad17efa1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_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_c8eed52820f3b31cf112db2220ba0152/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c8eed52820f3b31cf112db2220ba0152/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c8eed52820f3b31cf112db2220ba0152/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c8eed52820f3b31cf112db2220ba0152/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_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_5140bde71842fb611f3c067e4ebabc87/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5140bde71842fb611f3c067e4ebabc87/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5140bde71842fb611f3c067e4ebabc87/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5140bde71842fb611f3c067e4ebabc87/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #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_475d44c9602ccca12a2431746b08317d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_475d44c9602ccca12a2431746b08317d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_475d44c9602ccca12a2431746b08317d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_475d44c9602ccca12a2431746b08317d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 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_b45e3db53ce7902a571c875cefb5a426/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b45e3db53ce7902a571c875cefb5a426/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_b45e3db53ce7902a571c875cefb5a426/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b45e3db53ce7902a571c875cefb5a426/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_b45e3db53ce7902a571c875cefb5a426/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b45e3db53ce7902a571c875cefb5a426/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking correct behavior of strtoll'] from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed False not found --------------------------------------------------------------------- Checking for if_nametoindex ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_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_903935f264a851be4e12cb175147bd2a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_903935f264a851be4e12cb175147bd2a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_903935f264a851be4e12cb175147bd2a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_903935f264a851be4e12cb175147bd2a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_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_e991801344c116c8f53fbb8f26d1d9c0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e991801344c116c8f53fbb8f26d1d9c0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e991801344c116c8f53fbb8f26d1d9c0/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e991801344c116c8f53fbb8f26d1d9c0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------- Checking for getdirentries ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define getdirentries __fake__getdirentries #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getdirentries #if defined __stub_getdirentries || defined __stub___getdirentries #error "bad glibc stub" #endif extern char getdirentries(); int main() { return getdirentries(); } <== [1/2] Compiling bin/.conf_check_d4e8d93ea4d2b61438a59ebff5a5d0e9/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4e8d93ea4d2b61438a59ebff5a5d0e9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d4e8d93ea4d2b61438a59ebff5a5d0e9/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d4e8d93ea4d2b61438a59ebff5a5d0e9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------- Checking for getdents ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 #define getdents __fake__getdents #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getdents #if defined __stub_getdents || defined __stub___getdents #error "bad glibc stub" #endif extern char getdents(); int main() { return getdents(); } <== [1/2] Compiling bin/.conf_check_6adfb9ddce9ae95bde8262d50827a555/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6adfb9ddce9ae95bde8262d50827a555/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6adfb9ddce9ae95bde8262d50827a555/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6adfb9ddce9ae95bde8262d50827a555/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `getdents' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_45a2dee3f4ae52725aff1efa6b1403e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_45a2dee3f4ae52725aff1efa6b1403e2/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:321:39: error: 'getdents' undeclared (first use in this function); did you mean 'getenv'? int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } ^~~~~~~~ getenv ../../test.c:321:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:321:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for syslog ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define syslog __fake__syslog #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syslog #if defined __stub_syslog || defined __stub___syslog #error "bad glibc stub" #endif extern char syslog(); int main() { return syslog(); } <== [1/2] Compiling bin/.conf_check_8ac64fa67fe36a737530e46a7650ef8d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8ac64fa67fe36a737530e46a7650ef8d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8ac64fa67fe36a737530e46a7650ef8d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8ac64fa67fe36a737530e46a7650ef8d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define get_current_dir_name __fake__get_current_dir_name #ifdef HAVE_LIMITS_H # include #else # include #endif #undef get_current_dir_name #if defined __stub_get_current_dir_name || defined __stub___get_current_dir_name #error "bad glibc stub" #endif extern char get_current_dir_name(); int main() { return get_current_dir_name(); } <== [1/2] Compiling bin/.conf_check_9671c9fea56ee36ab9cbdf4596e2b845/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9671c9fea56ee36ab9cbdf4596e2b845/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9671c9fea56ee36ab9cbdf4596e2b845/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9671c9fea56ee36ab9cbdf4596e2b845/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define timegm __fake__timegm #ifdef HAVE_LIMITS_H # include #else # include #endif #undef timegm #if defined __stub_timegm || defined __stub___timegm #error "bad glibc stub" #endif extern char timegm(); int main() { return timegm(); } <== [1/2] Compiling bin/.conf_check_b0dbcdf7cefc41b0a2dbb90cf3a98f4f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b0dbcdf7cefc41b0a2dbb90cf3a98f4f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b0dbcdf7cefc41b0a2dbb90cf3a98f4f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b0dbcdf7cefc41b0a2dbb90cf3a98f4f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define getifaddrs __fake__getifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getifaddrs #if defined __stub_getifaddrs || defined __stub___getifaddrs #error "bad glibc stub" #endif extern char getifaddrs(); int main() { return getifaddrs(); } <== [1/2] Compiling bin/.conf_check_cd6d334c04f9f447b1b6835c9d27219c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd6d334c04f9f447b1b6835c9d27219c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cd6d334c04f9f447b1b6835c9d27219c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd6d334c04f9f447b1b6835c9d27219c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define freeifaddrs __fake__freeifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef freeifaddrs #if defined __stub_freeifaddrs || defined __stub___freeifaddrs #error "bad glibc stub" #endif extern char freeifaddrs(); int main() { return freeifaddrs(); } <== [1/2] Compiling bin/.conf_check_269df4404d8ac66bb17ee0ed303777d0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_269df4404d8ac66bb17ee0ed303777d0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_269df4404d8ac66bb17ee0ed303777d0/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_269df4404d8ac66bb17ee0ed303777d0/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define mmap __fake__mmap #ifdef HAVE_LIMITS_H # include #else # include #endif #undef mmap #if defined __stub_mmap || defined __stub___mmap #error "bad glibc stub" #endif extern char mmap(); int main() { return mmap(); } <== [1/2] Compiling bin/.conf_check_9d4d792fc327f814000640adf0e1ceee/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9d4d792fc327f814000640adf0e1ceee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9d4d792fc327f814000640adf0e1ceee/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9d4d792fc327f814000640adf0e1ceee/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define setgroups __fake__setgroups #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setgroups #if defined __stub_setgroups || defined __stub___setgroups #error "bad glibc stub" #endif extern char setgroups(); int main() { return setgroups(); } <== [1/2] Compiling bin/.conf_check_37dbcd8e49db07c1847e39c4b7001525/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37dbcd8e49db07c1847e39c4b7001525/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_37dbcd8e49db07c1847e39c4b7001525/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37dbcd8e49db07c1847e39c4b7001525/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define syscall __fake__syscall #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syscall #if defined __stub_syscall || defined __stub___syscall #error "bad glibc stub" #endif extern char syscall(); int main() { return syscall(); } <== [1/2] Compiling bin/.conf_check_4a017f609c77b1a27bb6741c69ad7d90/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4a017f609c77b1a27bb6741c69ad7d90/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4a017f609c77b1a27bb6741c69ad7d90/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4a017f609c77b1a27bb6741c69ad7d90/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define setsid __fake__setsid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setsid #if defined __stub_setsid || defined __stub___setsid #error "bad glibc stub" #endif extern char setsid(); int main() { return setsid(); } <== [1/2] Compiling bin/.conf_check_1c82e6910be6d4dc6aeef61525acd4e1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1c82e6910be6d4dc6aeef61525acd4e1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1c82e6910be6d4dc6aeef61525acd4e1/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1c82e6910be6d4dc6aeef61525acd4e1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define getgrent_r __fake__getgrent_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrent_r #if defined __stub_getgrent_r || defined __stub___getgrent_r #error "bad glibc stub" #endif extern char getgrent_r(); int main() { return getgrent_r(); } <== [1/2] Compiling bin/.conf_check_7fb08a8f3059b65195bed1a68884b043/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fb08a8f3059b65195bed1a68884b043/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7fb08a8f3059b65195bed1a68884b043/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7fb08a8f3059b65195bed1a68884b043/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define getgrgid_r __fake__getgrgid_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrgid_r #if defined __stub_getgrgid_r || defined __stub___getgrgid_r #error "bad glibc stub" #endif extern char getgrgid_r(); int main() { return getgrgid_r(); } <== [1/2] Compiling bin/.conf_check_d7df8cc29bde0f916a8903755d5aaa72/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d7df8cc29bde0f916a8903755d5aaa72/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d7df8cc29bde0f916a8903755d5aaa72/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d7df8cc29bde0f916a8903755d5aaa72/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define getgrnam_r __fake__getgrnam_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrnam_r #if defined __stub_getgrnam_r || defined __stub___getgrnam_r #error "bad glibc stub" #endif extern char getgrnam_r(); int main() { return getgrnam_r(); } <== [1/2] Compiling bin/.conf_check_7d84157c526335bb09f6c8f25159d5f5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7d84157c526335bb09f6c8f25159d5f5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7d84157c526335bb09f6c8f25159d5f5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7d84157c526335bb09f6c8f25159d5f5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define getgrouplist __fake__getgrouplist #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrouplist #if defined __stub_getgrouplist || defined __stub___getgrouplist #error "bad glibc stub" #endif extern char getgrouplist(); int main() { return getgrouplist(); } <== [1/2] Compiling bin/.conf_check_9db2a8a111ba59c903deadee80333f60/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9db2a8a111ba59c903deadee80333f60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9db2a8a111ba59c903deadee80333f60/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9db2a8a111ba59c903deadee80333f60/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define getpagesize __fake__getpagesize #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpagesize #if defined __stub_getpagesize || defined __stub___getpagesize #error "bad glibc stub" #endif extern char getpagesize(); int main() { return getpagesize(); } <== [1/2] Compiling bin/.conf_check_f40f66ecf4245845f1bcca369a3808ec/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f40f66ecf4245845f1bcca369a3808ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f40f66ecf4245845f1bcca369a3808ec/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f40f66ecf4245845f1bcca369a3808ec/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define getpwent_r __fake__getpwent_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwent_r #if defined __stub_getpwent_r || defined __stub___getpwent_r #error "bad glibc stub" #endif extern char getpwent_r(); int main() { return getpwent_r(); } <== [1/2] Compiling bin/.conf_check_828a31075ad0feb1901b9077f421e763/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_828a31075ad0feb1901b9077f421e763/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_828a31075ad0feb1901b9077f421e763/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_828a31075ad0feb1901b9077f421e763/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define getpwnam_r __fake__getpwnam_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwnam_r #if defined __stub_getpwnam_r || defined __stub___getpwnam_r #error "bad glibc stub" #endif extern char getpwnam_r(); int main() { return getpwnam_r(); } <== [1/2] Compiling bin/.conf_check_c5c5c3820369456ec64bd03c9e60493b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c5c5c3820369456ec64bd03c9e60493b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c5c5c3820369456ec64bd03c9e60493b/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c5c5c3820369456ec64bd03c9e60493b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define getpwuid_r __fake__getpwuid_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwuid_r #if defined __stub_getpwuid_r || defined __stub___getpwuid_r #error "bad glibc stub" #endif extern char getpwuid_r(); int main() { return getpwuid_r(); } <== [1/2] Compiling bin/.conf_check_a6e5bdc49333c6678f68ac15655995c3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a6e5bdc49333c6678f68ac15655995c3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a6e5bdc49333c6678f68ac15655995c3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a6e5bdc49333c6678f68ac15655995c3/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define epoll_create __fake__epoll_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef epoll_create #if defined __stub_epoll_create || defined __stub___epoll_create #error "bad glibc stub" #endif extern char epoll_create(); int main() { return epoll_create(); } <== [1/2] Compiling bin/.conf_check_f374e7278c8f843ce5246c727ab900e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f374e7278c8f843ce5246c727ab900e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f374e7278c8f843ce5246c727ab900e2/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f374e7278c8f843ce5246c727ab900e2/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 #define port_create __fake__port_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef port_create #if defined __stub_port_create || defined __stub___port_create #error "bad glibc stub" #endif extern char port_create(); int main() { return port_create(); } <== [1/2] Compiling bin/.conf_check_c9537ee3469c09fb8e194574fa7c3684/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c9537ee3469c09fb8e194574fa7c3684/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c9537ee3469c09fb8e194574fa7c3684/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c9537ee3469c09fb8e194574fa7c3684/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `port_create' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_37c3367fcf62d3f46ecc674c05b91767/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37c3367fcf62d3f46ecc674c05b91767/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:39: error: 'port_create' undeclared (first use in this function) int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } ^~~~~~~~~~~ ../../test.c:340:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:340:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getprogname ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ #define getprogname __fake__getprogname #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getprogname #if defined __stub_getprogname || defined __stub___getprogname #error "bad glibc stub" #endif extern char getprogname(); int main() { return getprogname(); } <== [1/2] Compiling bin/.conf_check_858132eaff83b96c98135bef74a586eb/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_858132eaff83b96c98135bef74a586eb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_858132eaff83b96c98135bef74a586eb/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_858132eaff83b96c98135bef74a586eb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `getprogname' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_2f8e390b17a2b745d9efe12a066f87e2/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2f8e390b17a2b745d9efe12a066f87e2/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:341:39: error: 'getprogname' undeclared (first use in this function); did you mean 'gethostname'? int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } ^~~~~~~~~~~ gethostname ../../test.c:341:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:341:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getxattr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define getxattr __fake__getxattr #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getxattr #if defined __stub_getxattr || defined __stub___getxattr #error "bad glibc stub" #endif extern char getxattr(); int main() { return getxattr(); } <== [1/2] Compiling bin/.conf_check_96f1d17f2fca32ea3ef3c090c65f62ae/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_96f1d17f2fca32ea3ef3c090c65f62ae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_96f1d17f2fca32ea3ef3c090c65f62ae/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_96f1d17f2fca32ea3ef3c090c65f62ae/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; } <== [1/2] Compiling bin/.conf_check_2e827a16f98a3d7eb5063b94c360478e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2e827a16f98a3d7eb5063b94c360478e/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:19: error: too many arguments to function 'getxattr' int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; } ^~~~~~~~ In file included from ../../test.c:343:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/xattr.h:59:16: note: declared here extern ssize_t getxattr (const char *__path, const char *__name, ^~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0ebeead8abb3e3e27fe002478ac321e1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0ebeead8abb3e3e27fe002478ac321e1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_15b4668d344d2aee3c2399e7b85a8f22/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_15b4668d344d2aee3c2399e7b85a8f22/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:345:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define dlopen __fake__dlopen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlopen #if defined __stub_dlopen || defined __stub___dlopen #error "bad glibc stub" #endif extern char dlopen(); int main() { return dlopen(); } <== [1/2] Compiling bin/.conf_check_7eb4bc9b83ad664b8f753eedc96c352c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7eb4bc9b83ad664b8f753eedc96c352c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7eb4bc9b83ad664b8f753eedc96c352c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7eb4bc9b83ad664b8f753eedc96c352c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlopen' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_a52c54edd4e386d30d70bd4814914882/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a52c54edd4e386d30d70bd4814914882/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:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_a52c54edd4e386d30d70bd4814914882/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a52c54edd4e386d30d70bd4814914882/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlopen' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlopen' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlsym ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ #define dlsym __fake__dlsym #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlsym #if defined __stub_dlsym || defined __stub___dlsym #error "bad glibc stub" #endif extern char dlsym(); int main() { return dlsym(); } <== [1/2] Compiling bin/.conf_check_5e30588506e1f3cc03f8206bb42e10d3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5e30588506e1f3cc03f8206bb42e10d3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5e30588506e1f3cc03f8206bb42e10d3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5e30588506e1f3cc03f8206bb42e10d3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlsym' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_9e1c47c866f589c2954252f716149642/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9e1c47c866f589c2954252f716149642/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:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_9e1c47c866f589c2954252f716149642/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9e1c47c866f589c2954252f716149642/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlsym' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlsym' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ #define dlerror __fake__dlerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlerror #if defined __stub_dlerror || defined __stub___dlerror #error "bad glibc stub" #endif extern char dlerror(); int main() { return dlerror(); } <== [1/2] Compiling bin/.conf_check_880f54d62d87ee1e0dc29d4eca021067/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_880f54d62d87ee1e0dc29d4eca021067/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_880f54d62d87ee1e0dc29d4eca021067/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_880f54d62d87ee1e0dc29d4eca021067/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlerror' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_883bb7da07c73892387093995ec7507f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_883bb7da07c73892387093995ec7507f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:350:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_883bb7da07c73892387093995ec7507f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_883bb7da07c73892387093995ec7507f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlerror' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlerror' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlclose ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ #define dlclose __fake__dlclose #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlclose #if defined __stub_dlclose || defined __stub___dlclose #error "bad glibc stub" #endif extern char dlclose(); int main() { return dlclose(); } <== [1/2] Compiling bin/.conf_check_f114e4b154e3c25fc478863aea0430c8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f114e4b154e3c25fc478863aea0430c8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f114e4b154e3c25fc478863aea0430c8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f114e4b154e3c25fc478863aea0430c8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlclose' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_4c27c08a28e1791c3d50ef29fba04d05/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4c27c08a28e1791c3d50ef29fba04d05/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:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_4c27c08a28e1791c3d50ef29fba04d05/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4c27c08a28e1791c3d50ef29fba04d05/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlclose' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlclose' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for library dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_1c040204e49eb15faad4243d05e096fd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1c040204e49eb15faad4243d05e096fd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1c040204e49eb15faad4243d05e096fd/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1c040204e49eb15faad4243d05e096fd/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f4dbeb7f57077be1d2db06d629b8f383/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f4dbeb7f57077be1d2db06d629b8f383/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:350:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlopen __fake__dlopen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlopen #if defined __stub_dlopen || defined __stub___dlopen #error "bad glibc stub" #endif extern char dlopen(); int main() { return dlopen(); } <== [1/2] Compiling bin/.conf_check_7ce2492ac796db52c8c0e1bca99a28a5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7ce2492ac796db52c8c0e1bca99a28a5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7ce2492ac796db52c8c0e1bca99a28a5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7ce2492ac796db52c8c0e1bca99a28a5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_444bc9edec6962784648e37f83a6d304/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_444bc9edec6962784648e37f83a6d304/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:350:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlsym __fake__dlsym #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlsym #if defined __stub_dlsym || defined __stub___dlsym #error "bad glibc stub" #endif extern char dlsym(); int main() { return dlsym(); } <== [1/2] Compiling bin/.conf_check_cd2262dbf3944e6e3d6246de7e12860f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd2262dbf3944e6e3d6246de7e12860f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cd2262dbf3944e6e3d6246de7e12860f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd2262dbf3944e6e3d6246de7e12860f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_887ea6432e22d97a81fdb15667f3e83a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_887ea6432e22d97a81fdb15667f3e83a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:350:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlerror __fake__dlerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlerror #if defined __stub_dlerror || defined __stub___dlerror #error "bad glibc stub" #endif extern char dlerror(); int main() { return dlerror(); } <== [1/2] Compiling bin/.conf_check_affe8dc941b01b57db2f319096e1e122/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_affe8dc941b01b57db2f319096e1e122/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_affe8dc941b01b57db2f319096e1e122/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_affe8dc941b01b57db2f319096e1e122/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5bdc135c1b7d2f946323d9ae89087e46/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5bdc135c1b7d2f946323d9ae89087e46/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:350:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlclose __fake__dlclose #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlclose #if defined __stub_dlclose || defined __stub___dlclose #error "bad glibc stub" #endif extern char dlclose(); int main() { return dlclose(); } <== [1/2] Compiling bin/.conf_check_a0cf4fa65fadfce9a668b06188606962/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a0cf4fa65fadfce9a668b06188606962/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a0cf4fa65fadfce9a668b06188606962/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a0cf4fa65fadfce9a668b06188606962/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef dlopen void *_x; _x=(void *)&dlopen; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_0063e28ec662bb39297800cde2fbf1cd/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0063e28ec662bb39297800cde2fbf1cd/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:354:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&dlopen; return (int)_x; ^ ok --------------------------------------------------------------------- Checking C prototype for dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; } <== [1/1] Compiling bin/.conf_check_d814d59b9195e371b301aea1cb1d59b5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d814d59b9195e371b301aea1cb1d59b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:353:25: error: conflicting types for 'dlopen' int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; } ^~~~~~ In file included from ../../test.c:351:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:56:14: note: previous declaration of 'dlopen' was here extern void *dlopen (const char *__file, int __mode) __THROWNL; ^~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for fdatasync ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define fdatasync __fake__fdatasync #ifdef HAVE_LIMITS_H # include #else # include #endif #undef fdatasync #if defined __stub_fdatasync || defined __stub___fdatasync #error "bad glibc stub" #endif extern char fdatasync(); int main() { return fdatasync(); } <== [1/2] Compiling bin/.conf_check_f19daa8194c377ee6b91ed90d45b121c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f19daa8194c377ee6b91ed90d45b121c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f19daa8194c377ee6b91ed90d45b121c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f19daa8194c377ee6b91ed90d45b121c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef fdatasync void *_x; _x=(void *)&fdatasync; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e9ac20219e87f93c33eebdf00f247d84/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e9ac20219e87f93c33eebdf00f247d84/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:356:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&fdatasync; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for clock_gettime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define clock_gettime __fake__clock_gettime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef clock_gettime #if defined __stub_clock_gettime || defined __stub___clock_gettime #error "bad glibc stub" #endif extern char clock_gettime(); int main() { return clock_gettime(); } <== [1/2] Compiling bin/.conf_check_2cec776030094e78e0a8b43c95bbefa7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2cec776030094e78e0a8b43c95bbefa7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2cec776030094e78e0a8b43c95bbefa7/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2cec776030094e78e0a8b43c95bbefa7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_MONOTONIC; return 0; } <== [1/2] Compiling bin/.conf_check_3fbb7300850251dce667468153f21839/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3fbb7300850251dce667468153f21839/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3fbb7300850251dce667468153f21839/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3fbb7300850251dce667468153f21839/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_PROCESS_CPUTIME_ID; return 0; } <== [1/2] Compiling bin/.conf_check_fd9691667948ba60f81da4083378170f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd9691667948ba60f81da4083378170f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fd9691667948ba60f81da4083378170f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fd9691667948ba60f81da4083378170f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_REALTIME; return 0; } <== [1/2] Compiling bin/.conf_check_f97651e069a11f8ab9efc8daaa5c2cd6/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f97651e069a11f8ab9efc8daaa5c2cd6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f97651e069a11f8ab9efc8daaa5c2cd6/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f97651e069a11f8ab9efc8daaa5c2cd6/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct timespec _x; return 0; } <== [1/1] Compiling bin/.conf_check_a0d1f54dbff61e7931d209a837054d2c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a0d1f54dbff61e7931d209a837054d2c/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8f2a9f55af74e0809ad40924f7582e86/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8f2a9f55af74e0809ad40924f7582e86/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_196a7c0c103fa71a9150cff1feead30f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_196a7c0c103fa71a9150cff1feead30f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define res_search __fake__res_search #ifdef HAVE_LIMITS_H # include #else # include #endif #undef res_search #if defined __stub_res_search || defined __stub___res_search #error "bad glibc stub" #endif extern char res_search(); int main() { return res_search(); } <== [1/2] Compiling bin/.conf_check_ec5035857412db56a9edefba32dfe9c1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec5035857412db56a9edefba32dfe9c1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ec5035857412db56a9edefba32dfe9c1/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ec5035857412db56a9edefba32dfe9c1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `res_search' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_44cd62cdabc7e5f3d43d5c6700f26f6a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_44cd62cdabc7e5f3d43d5c6700f26f6a/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:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_44cd62cdabc7e5f3d43d5c6700f26f6a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_44cd62cdabc7e5f3d43d5c6700f26f6a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `__res_search' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `__res_search' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library resolv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_1e15e463d0e350b84454f501d7f00af8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1e15e463d0e350b84454f501d7f00af8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1e15e463d0e350b84454f501d7f00af8/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1e15e463d0e350b84454f501d7f00af8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #define HAVE_LIBRESOLV 1 #define res_search __fake__res_search #ifdef HAVE_LIMITS_H # include #else # include #endif #undef res_search #if defined __stub_res_search || defined __stub___res_search #error "bad glibc stub" #endif extern char res_search(); int main() { return res_search(); } <== [1/2] Compiling bin/.conf_check_1cfbf4f4d93c0d2259a94d0467f29ce3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1cfbf4f4d93c0d2259a94d0467f29ce3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1cfbf4f4d93c0d2259a94d0467f29ce3/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1cfbf4f4d93c0d2259a94d0467f29ce3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `res_search' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #define HAVE_LIBRESOLV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b1dc7907f737e46616fdbfbb9c536536/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b1dc7907f737e46616fdbfbb9c536536/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:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_b1dc7907f737e46616fdbfbb9c536536/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b1dc7907f737e46616fdbfbb9c536536/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_101b9df1aec84eb181adc59b1d2fffff/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_101b9df1aec84eb181adc59b1d2fffff/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_5a332d7abf72ac77ad7f2944f8db7245/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5a332d7abf72ac77ad7f2944f8db7245/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5a332d7abf72ac77ad7f2944f8db7245/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5a332d7abf72ac77ad7f2944f8db7245/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lintl'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed --------------------------------------------------------------------------------- Checking for declaration of dgettext ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef dgettext void *_x; _x=(void *)&dgettext; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_b09ef9ff289c263b7c1a556508d59632/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b09ef9ff289c263b7c1a556508d59632/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef gettext void *_x; _x=(void *)&gettext; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_0d076e011f2fe34157b8d907240d9c03/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0d076e011f2fe34157b8d907240d9c03/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef bindtextdomain void *_x; _x=(void *)&bindtextdomain; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_6cde8e8ee21be15cf6735a803a7e85f1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6cde8e8ee21be15cf6735a803a7e85f1/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:370:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bindtextdomain; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of textdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef textdomain void *_x; _x=(void *)&textdomain; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e5b587e6388dc0efc2291dd4961137e8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e5b587e6388dc0efc2291dd4961137e8/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:371:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&textdomain; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of bind_textdomain_codeset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef bind_textdomain_codeset void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_00081190039045af219c8ea30cfd4eae/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_00081190039045af219c8ea30cfd4eae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:372:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for bindtextdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define bindtextdomain __fake__bindtextdomain #ifdef HAVE_LIMITS_H # include #else # include #endif #undef bindtextdomain #if defined __stub_bindtextdomain || defined __stub___bindtextdomain #error "bad glibc stub" #endif extern char bindtextdomain(); int main() { return bindtextdomain(); } <== [1/2] Compiling bin/.conf_check_37644b093e6771583f4613ffa2c7eb44/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37644b093e6771583f4613ffa2c7eb44/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_37644b093e6771583f4613ffa2c7eb44/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_37644b093e6771583f4613ffa2c7eb44/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define textdomain __fake__textdomain #ifdef HAVE_LIMITS_H # include #else # include #endif #undef textdomain #if defined __stub_textdomain || defined __stub___textdomain #error "bad glibc stub" #endif extern char textdomain(); int main() { return textdomain(); } <== [1/2] Compiling bin/.conf_check_8765871909ec0abbca296b86786c206a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8765871909ec0abbca296b86786c206a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8765871909ec0abbca296b86786c206a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8765871909ec0abbca296b86786c206a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define bind_textdomain_codeset __fake__bind_textdomain_codeset #ifdef HAVE_LIMITS_H # include #else # include #endif #undef bind_textdomain_codeset #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset #error "bad glibc stub" #endif extern char bind_textdomain_codeset(); int main() { return bind_textdomain_codeset(); } <== [1/2] Compiling bin/.conf_check_20c48d050d85fbc767d11ab4af1e5e21/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_20c48d050d85fbc767d11ab4af1e5e21/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_20c48d050d85fbc767d11ab4af1e5e21/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_20c48d050d85fbc767d11ab4af1e5e21/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define dgettext __fake__dgettext #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dgettext #if defined __stub_dgettext || defined __stub___dgettext #error "bad glibc stub" #endif extern char dgettext(); int main() { return dgettext(); } <== [1/2] Compiling bin/.conf_check_e825087e1ac3386064613bb1929580cf/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e825087e1ac3386064613bb1929580cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:370:38: warning: conflicting types for built-in function 'dgettext' [-Wbuiltin-declaration-mismatch] extern char dgettext(); ^~~~~~~~ [2/2] Linking bin/.conf_check_e825087e1ac3386064613bb1929580cf/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e825087e1ac3386064613bb1929580cf/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define gettext __fake__gettext #ifdef HAVE_LIMITS_H # include #else # include #endif #undef gettext #if defined __stub_gettext || defined __stub___gettext #error "bad glibc stub" #endif extern char gettext(); int main() { return gettext(); } <== [1/2] Compiling bin/.conf_check_ca4c0102021b33b86706f83dd7c941ed/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ca4c0102021b33b86706f83dd7c941ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:371:38: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] extern char gettext(); ^~~~~~~ [2/2] Linking bin/.conf_check_ca4c0102021b33b86706f83dd7c941ed/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ca4c0102021b33b86706f83dd7c941ed/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9a9646d36036217707bf2f407445c7a8/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9a9646d36036217707bf2f407445c7a8/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define pthread_create __fake__pthread_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_create #if defined __stub_pthread_create || defined __stub___pthread_create #error "bad glibc stub" #endif extern char pthread_create(); int main() { return pthread_create(); } <== [1/2] Compiling bin/.conf_check_fc7dde156983fe446bd723d7551d2a14/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fc7dde156983fe446bd723d7551d2a14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fc7dde156983fe446bd723d7551d2a14/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_fc7dde156983fe446bd723d7551d2a14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_ce818dd70582461a9019772a60caf980/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce818dd70582461a9019772a60caf980/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:378:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_ce818dd70582461a9019772a60caf980/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ce818dd70582461a9019772a60caf980/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_create' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_f78e21c71f80263a71af6c47bc56f722/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f78e21c71f80263a71af6c47bc56f722/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f78e21c71f80263a71af6c47bc56f722/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f78e21c71f80263a71af6c47bc56f722/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ #define HAVE_LIBPTHREAD 1 #define pthread_create __fake__pthread_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_create #if defined __stub_pthread_create || defined __stub___pthread_create #error "bad glibc stub" #endif extern char pthread_create(); int main() { return pthread_create(); } <== [1/2] Compiling bin/.conf_check_dd7689c34c6872bc81730e36057af163/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dd7689c34c6872bc81730e36057af163/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dd7689c34c6872bc81730e36057af163/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dd7689c34c6872bc81730e36057af163/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define pthread_attr_init __fake__pthread_attr_init #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_attr_init #if defined __stub_pthread_attr_init || defined __stub___pthread_attr_init #error "bad glibc stub" #endif extern char pthread_attr_init(); int main() { return pthread_attr_init(); } <== [1/2] Compiling bin/.conf_check_8c9cc5271c94bc0b32711b9929bf7167/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8c9cc5271c94bc0b32711b9929bf7167/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8c9cc5271c94bc0b32711b9929bf7167/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8c9cc5271c94bc0b32711b9929bf7167/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutexattr_setrobust #if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust #error "bad glibc stub" #endif extern char pthread_mutexattr_setrobust(); int main() { return pthread_mutexattr_setrobust(); } <== [1/2] Compiling bin/.conf_check_94c22269a85d7a375b6543b30e0d970a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_94c22269a85d7a375b6543b30e0d970a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_94c22269a85d7a375b6543b30e0d970a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_94c22269a85d7a375b6543b30e0d970a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_mutexattr_setrobust' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 /* #undef HAVE_PTHREAD_MUTEXATTR_SETROBUST */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_mutexattr_setrobust; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_2813f53be0a1f025fade2823e2f99697/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2813f53be0a1f025fade2823e2f99697/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:382:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_mutexattr_setrobust; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_2813f53be0a1f025fade2823e2f99697/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2813f53be0a1f025fade2823e2f99697/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_mutexattr_setrobust' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `pthread_mutexattr_setrobust' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for pthread_mutexattr_setrobust in pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 /* #undef HAVE_PTHREAD_MUTEXATTR_SETROBUST */ #define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutexattr_setrobust #if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust #error "bad glibc stub" #endif extern char pthread_mutexattr_setrobust(); int main() { return pthread_mutexattr_setrobust(); } <== [1/2] Compiling bin/.conf_check_e72206e49e4a1053642cdc297df9deef/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e72206e49e4a1053642cdc297df9deef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e72206e49e4a1053642cdc297df9deef/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e72206e49e4a1053642cdc297df9deef/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef PTHREAD_MUTEX_ROBUST void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_9b01e76701b073ab935251342a54c728/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9b01e76701b073ab935251342a54c728/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:44: error: lvalue required as unary '&' operand void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; ^ ../../test.c:384:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 /* #undef HAVE_DECL_PTHREAD_MUTEX_ROBUST */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)PTHREAD_MUTEX_ROBUST; ; return 0; } <== [1/1] Compiling bin/.conf_check_c8833ef54aa8d1df85cf258c8825a197/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c8833ef54aa8d1df85cf258c8825a197/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define pthread_mutex_consistent __fake__pthread_mutex_consistent #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutex_consistent #if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent #error "bad glibc stub" #endif extern char pthread_mutex_consistent(); int main() { return pthread_mutex_consistent(); } <== [1/2] Compiling bin/.conf_check_636bdfab9695664986982fb7fa2ee68c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_636bdfab9695664986982fb7fa2ee68c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_636bdfab9695664986982fb7fa2ee68c/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_636bdfab9695664986982fb7fa2ee68c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_mutex_consistent' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 /* #undef HAVE_PTHREAD_MUTEX_CONSISTENT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_mutex_consistent; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_8f9bb5f299403f70cd8c79a4182e0685/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8f9bb5f299403f70cd8c79a4182e0685/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:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_mutex_consistent; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_8f9bb5f299403f70cd8c79a4182e0685/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8f9bb5f299403f70cd8c79a4182e0685/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_mutex_consistent' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `pthread_mutex_consistent' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for pthread_mutex_consistent in pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 /* #undef HAVE_PTHREAD_MUTEX_CONSISTENT */ #define pthread_mutex_consistent __fake__pthread_mutex_consistent #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutex_consistent #if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent #error "bad glibc stub" #endif extern char pthread_mutex_consistent(); int main() { return pthread_mutex_consistent(); } <== [1/2] Compiling bin/.conf_check_d60647bd83e5457c6106dda6e12e9047/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d60647bd83e5457c6106dda6e12e9047/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d60647bd83e5457c6106dda6e12e9047/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d60647bd83e5457c6106dda6e12e9047/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include __thread int tls; int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_4cb3a88ca4eeadef3d93806cdc3e9490/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4cb3a88ca4eeadef3d93806cdc3e9490/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4cb3a88ca4eeadef3d93806cdc3e9490/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4cb3a88ca4eeadef3d93806cdc3e9490/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define crypt __fake__crypt #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt #if defined __stub_crypt || defined __stub___crypt #error "bad glibc stub" #endif extern char crypt(); int main() { return crypt(); } <== [1/2] Compiling bin/.conf_check_015f115e5881918b7dc8d2f9684b748d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_015f115e5881918b7dc8d2f9684b748d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_015f115e5881918b7dc8d2f9684b748d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_015f115e5881918b7dc8d2f9684b748d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_35ed57b3c8e8a5e2118b1f7c6498701d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_35ed57b3c8e8a5e2118b1f7c6498701d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:386:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_35ed57b3c8e8a5e2118b1f7c6498701d/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_35ed57b3c8e8a5e2118b1f7c6498701d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `crypt' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `crypt' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_733df20506fad29d5addfef9b6993f6a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_733df20506fad29d5addfef9b6993f6a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_733df20506fad29d5addfef9b6993f6a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_733df20506fad29d5addfef9b6993f6a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ #define HAVE_LIBCRYPT 1 #define crypt __fake__crypt #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt #if defined __stub_crypt || defined __stub___crypt #error "bad glibc stub" #endif extern char crypt(); int main() { return crypt(); } <== [1/2] Compiling bin/.conf_check_ab3a6647c690dcfec5d2800db9ac3948/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ab3a6647c690dcfec5d2800db9ac3948/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ab3a6647c690dcfec5d2800db9ac3948/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ab3a6647c690dcfec5d2800db9ac3948/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define crypt_r __fake__crypt_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_r #if defined __stub_crypt_r || defined __stub___crypt_r #error "bad glibc stub" #endif extern char crypt_r(); int main() { return crypt_r(); } <== [1/2] Compiling bin/.conf_check_5a61f9b4aad24c9e5068728084280ee5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5a61f9b4aad24c9e5068728084280ee5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5a61f9b4aad24c9e5068728084280ee5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5a61f9b4aad24c9e5068728084280ee5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt_r' collect2: error: ld returned 1 exit status from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 /* #undef HAVE_CRYPT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_dfafa2913c8834461e7c9d98e53418bc/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dfafa2913c8834461e7c9d98e53418bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:388:39: error: 'crypt_r' undeclared (first use in this function); did you mean 'crypt'? int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } ^~~~~~~ crypt ../../test.c:388:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:388:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for crypt_r in crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 /* #undef HAVE_CRYPT_R */ #define crypt_r __fake__crypt_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_r #if defined __stub_crypt_r || defined __stub___crypt_r #error "bad glibc stub" #endif extern char crypt_r(); int main() { return crypt_r(); } <== [1/2] Compiling bin/.conf_check_1822f3433bcde2c639332c64b59e1b4e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1822f3433bcde2c639332c64b59e1b4e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1822f3433bcde2c639332c64b59e1b4e/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1822f3433bcde2c639332c64b59e1b4e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt'] ok --------------------------------------------------------------------------------- Checking for header readline.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_dcaf354c06d2d462941e89b2b834cf68/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dcaf354c06d2d462941e89b2b834cf68/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:387:10: fatal error: readline.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed --------------------------------------------------------------------------------- Checking for header readline/readline.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_af1dda4db98e4661095a13952929a2fa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_af1dda4db98e4661095a13952929a2fa/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_546869bfe8705377454f0198f4d170a7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_546869bfe8705377454f0198f4d170a7/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef rl_event_hook void *_x; _x=(void *)&rl_event_hook; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_1f067420b3761db7f5795e56d20a2228/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1f067420b3761db7f5795e56d20a2228/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:394:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&rl_event_hook; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for variable program_invocation_short_name ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef program_invocation_short_name void *_x; _x=(void *)&program_invocation_short_name; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_85bcdc8ce7867c1ef9594e3e040a39a7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_85bcdc8ce7867c1ef9594e3e040a39a7/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:394:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&program_invocation_short_name; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of snprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef snprintf void *_x; _x=(void *)&snprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_6b485901d75c025e7ef666c80b0fc36c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6b485901d75c025e7ef666c80b0fc36c/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:394:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&snprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef vsnprintf void *_x; _x=(void *)&vsnprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_f49159776b0ee15b67573f490c95be97/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f49159776b0ee15b67573f490c95be97/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:395:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&vsnprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of asprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef asprintf void *_x; _x=(void *)&asprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_6d2db7438475d48d52d28e3527f90f17/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_6d2db7438475d48d52d28e3527f90f17/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:396:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef vasprintf void *_x; _x=(void *)&vasprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_9969b14c0cbb3d62f6a936f80e0f199b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9969b14c0cbb3d62f6a936f80e0f199b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:397:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef errno void *_x; _x=(void *)&errno; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_744f3a3cdad23b59c661f5cf5c350715/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_744f3a3cdad23b59c661f5cf5c350715/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef EWOULDBLOCK void *_x; _x=(void *)&EWOULDBLOCK; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_03b69b900ef0a2f735b9fe470e1277aa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_03b69b900ef0a2f735b9fe470e1277aa/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef environ void *_x; _x=(void *)&environ; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_5b8be260432b40b4b6abeca7bfd74331/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5b8be260432b40b4b6abeca7bfd74331/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:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&environ; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getgrent_r void *_x; _x=(void *)&getgrent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_2a2c09b463f3d053f148a53b7a26cabf/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_2a2c09b463f3d053f148a53b7a26cabf/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:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getgrent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getpwent_r void *_x; _x=(void *)&getpwent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_41f9339d57cf943781c757246dff176e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_41f9339d57cf943781c757246dff176e/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:404:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getpwent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of pread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef pread void *_x; _x=(void *)&pread; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_ad1eda728d3e4e6eff4f5cdb62f731aa/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ad1eda728d3e4e6eff4f5cdb62f731aa/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:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&pread; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of pwrite ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef pwrite void *_x; _x=(void *)&pwrite; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e30473814cae1f2643dca6a192db29c1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_e30473814cae1f2643dca6a192db29c1/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:404:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&pwrite; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setenv void *_x; _x=(void *)&setenv; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_1f7e824f6437a424e0d5ec6ce8b95e8c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_1f7e824f6437a424e0d5ec6ce8b95e8c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:405:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setenv; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setresgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setresgid void *_x; _x=(void *)&setresgid; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_04040b66afd6d44ca448926e84e82cf3/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_04040b66afd6d44ca448926e84e82cf3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:406:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setresgid; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setresuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setresuid void *_x; _x=(void *)&setresuid; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_a486a27684f59f5fd33d1319f5d6cc73/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a486a27684f59f5fd33d1319f5d6cc73/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:407:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setresuid; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for eventfd ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_981009d46228e41a0fb57577fb341290/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_981009d46228e41a0fb57577fb341290/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define eventfd __fake__eventfd #ifdef HAVE_LIMITS_H # include #else # include #endif #undef eventfd #if defined __stub_eventfd || defined __stub___eventfd #error "bad glibc stub" #endif extern char eventfd(); int main() { return eventfd(); } <== [1/2] Compiling bin/.conf_check_5c88cf6648fb032f46fe12e5f8085b05/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5c88cf6648fb032f46fe12e5f8085b05/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5c88cf6648fb032f46fe12e5f8085b05/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5c88cf6648fb032f46fe12e5f8085b05/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f67f2ad995216a42b4bc9d52799190d4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_f67f2ad995216a42b4bc9d52799190d4/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define poll __fake__poll #ifdef HAVE_LIMITS_H # include #else # include #endif #undef poll #if defined __stub_poll || defined __stub___poll #error "bad glibc stub" #endif extern char poll(); int main() { return poll(); } <== [1/2] Compiling bin/.conf_check_8613b79a61650e86c20aeaa34b6f7542/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8613b79a61650e86c20aeaa34b6f7542/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8613b79a61650e86c20aeaa34b6f7542/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_8613b79a61650e86c20aeaa34b6f7542/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define strptime __fake__strptime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strptime #if defined __stub_strptime || defined __stub___strptime #error "bad glibc stub" #endif extern char strptime(); int main() { return strptime(); } <== [1/2] Compiling bin/.conf_check_516bb578edb553a722b44291ed888c97/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_516bb578edb553a722b44291ed888c97/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_516bb578edb553a722b44291ed888c97/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_516bb578edb553a722b44291ed888c97/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef strptime void *_x; _x=(void *)&strptime; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_18c54b3ab84ddbb8061f5cf24cc91d7b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_18c54b3ab84ddbb8061f5cf24cc91d7b/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:415:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&strptime; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for working strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LIBREPLACE_CONFIGURE_TEST_STRPTIME #include "tests/strptime.c" <== [1/3] Compiling bin/.conf_check_483837c7fbf566b5b5e756290213ad99/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_483837c7fbf566b5b5e756290213ad99/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_483837c7fbf566b5b5e756290213ad99/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_483837c7fbf566b5b5e756290213ad99/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_483837c7fbf566b5b5e756290213ad99/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_483837c7fbf566b5b5e756290213ad99/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for working strptime'] ok --------------------------------------------------------------------------------- Checking for declaration of gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef gettimeofday void *_x; _x=(void *)&gettimeofday; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_99145db349d4812f0385842da4ccd69b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_99145db349d4812f0385842da4ccd69b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:417:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&gettimeofday; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; } <== [1/1] Compiling bin/.conf_check_be8bfaef793487b4efb030942752b52e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_be8bfaef793487b4efb030942752b52e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; } <== [1/1] Compiling bin/.conf_check_c01ae050a282b194fee8077599b4d18c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_c01ae050a282b194fee8077599b4d18c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:417:23: error: conflicting types for 'gettimeofday' int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; } ^~~~~~~~~~~~ In file included from ../../test.c:415:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/time.h:68:12: note: previous declaration of 'gettimeofday' was here extern int gettimeofday (struct timeval *__restrict __tv, ^~~~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for C99 vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "tests/snprintf.c" <== [1/3] Compiling bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:417:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/snprintf.c: In function 'foo': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/snprintf.c:23:24: warning: unknown escape sequence: '\$' if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6); ^~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/snprintf.c:23:24: warning: unknown escape sequence: '\$' [2/3] Linking bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_60b18ae9cf2535670f4d1d7a29222fe5/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for C99 vsnprintf'] ok --------------------------------------------------------------------------------- Checking for HAVE_SHARED_MMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #include "tests/shared_mmap.c" <== [1/3] Compiling bin/.conf_check_100f7f9885d72639a559c0cda3160369/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_100f7f9885d72639a559c0cda3160369/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:404:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/shared_mmap.c: In function 'main': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/shared_mmap.c:31:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&i,sizeof(i)); ^~~~~~~~~~~~~~~~~~~~~~ [2/3] Linking bin/.conf_check_100f7f9885d72639a559c0cda3160369/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_100f7f9885d72639a559c0cda3160369/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_100f7f9885d72639a559c0cda3160369/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_100f7f9885d72639a559c0cda3160369/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_SHARED_MMAP'] ok --------------------------------------------------------------------------------- Checking for HAVE_MREMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #include "tests/shared_mremap.c" <== [1/3] Compiling bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_9e4703f50a3b3b4f5e8f2d04db625102/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_MREMAP'] ok --------------------------------------------------------------------------------- Checking for HAVE_INCOHERENT_MMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 #include "tests/incoherent_mmap.c" <== [1/3] Compiling bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:406:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/incoherent_mmap.c: In function 'main': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/tests/incoherent_mmap.c:48:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] pwrite(fd, &c, 1, 0); ^~~~~~~~~~~~~~~~~~~~ [2/3] Linking bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d88e4a64fa1b4892b760c5677408c7a4/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_INCOHERENT_MMAP'] from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed False not found --------------------------------------------------------------------------------- Checking for HAVE_IMMEDIATE_STRUCTURES ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { typedef struct {unsigned x;} FOOBAR; #define X_FOOBAR(x) ((FOOBAR) { x }) #define FOO_ONE X_FOOBAR(1) FOOBAR f = FOO_ONE; static const struct { FOOBAR y; } f2[] = { {FOO_ONE} }; static const FOOBAR f3[] = {FOO_ONE}; ; return 0; } <== [1/2] Compiling bin/.conf_check_ee2c0892aac5e79cf17a45fa4e1a085a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ee2c0892aac5e79cf17a45fa4e1a085a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ee2c0892aac5e79cf17a45fa4e1a085a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ee2c0892aac5e79cf17a45fa4e1a085a/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { mkdir("foo",0777); return 0; } <== [1/2] Compiling bin/.conf_check_ea91c16076306f06775f1fa8d7695344/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea91c16076306f06775f1fa8d7695344/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ea91c16076306f06775f1fa8d7695344/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_ea91c16076306f06775f1fa8d7695344/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------------------- Checking for member st_mtim.tv_nsec in struct stat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_mtim.tv_nsec; return 0; } <== [1/1] Compiling bin/.conf_check_28316b164792d7fd03ff4b3fd3af8b5d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_28316b164792d7fd03ff4b3fd3af8b5d/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; } <== [1/1] Compiling bin/.conf_check_3a4438c30358493a5a0f00e6e38cc6e5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3a4438c30358493a5a0f00e6e38cc6e5/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; } <== [1/1] Compiling bin/.conf_check_0bbae001e7b7edef017f4a6fc95c794f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0bbae001e7b7edef017f4a6fc95c794f/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.ss_family; return 0; } <== [1/1] Compiling bin/.conf_check_abeeb52a3134bd9823100c3a5c24058b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_abeeb52a3134bd9823100c3a5c24058b/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } <== [1/1] Compiling bin/.conf_check_dce2870bff29dbfb66cd4f6d3de41893/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_dce2870bff29dbfb66cd4f6d3de41893/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:429:70: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } ^~~~~~~~~~~ ss_family from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sa_len in struct sockaddr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; } <== [1/1] Compiling bin/.conf_check_aeebb4c34272f6db772c5180d709ce8d/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_aeebb4c34272f6db772c5180d709ce8d/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:430:61: error: 'struct sockaddr' has no member named 'sa_len' int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; } ^ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sin_len in struct sockaddr_in ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; } <== [1/1] Compiling bin/.conf_check_accec677e90af1afefef84dfa12fab0e/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_accec677e90af1afefef84dfa12fab0e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:431:65: error: 'struct sockaddr_in' has no member named 'sin_len'; did you mean 'sin_zero'? int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; } ^~~~~~~ sin_zero from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sin6_len in struct sockaddr_in6 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; } <== [1/1] Compiling bin/.conf_check_7c7d6e126c5769e78de50fbbfd103a3b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7c7d6e126c5769e78de50fbbfd103a3b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:432:66: error: 'struct sockaddr_in6' has no member named 'sin6_len'; did you mean 'sin6_port'? int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; } ^~~~~~~~ sin6_port from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_UNIXSOCKET ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_un sunaddr; sunaddr.sun_family = AF_UNIX;; return 0; } <== [1/2] Compiling bin/.conf_check_7f3dfe36e6ff179ab1aa0443df0730d1/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f3dfe36e6ff179ab1aa0443df0730d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7f3dfe36e6ff179ab1aa0443df0730d1/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_7f3dfe36e6ff179ab1aa0443df0730d1/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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat st; char tpl[20]="/tmp/test.XXXXXX"; char tpl2[20]="/tmp/test.XXXXXX"; int fd = mkstemp(tpl); int fd2 = mkstemp(tpl2); if (fd == -1) { if (fd2 != -1) { unlink(tpl2); } exit(1); } if (fd2 == -1) exit(1); unlink(tpl); unlink(tpl2); if (fstat(fd, &st) != 0) exit(1); if ((st.st_mode & 0777) != 0600) exit(1); if (strcmp(tpl, "/tmp/test.XXXXXX") == 0) { exit(1); } if (strcmp(tpl, tpl2) == 0) { exit(1); } exit(0); ; return 0; } <== [1/3] Compiling bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_00d4cb6cf96c2986c3a3fcd1109b580a/testbuild/default/testprog', '--cross-answers', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_SECURE_MKSTEMP'] ok --------------------------------------------------------------------------------- Checking for HAVE_IFACE_GETIFADDRS ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_GETIFADDRS 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_10e87e5b9ec471ca47845433dc33b3d4/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_10e87e5b9ec471ca47845433dc33b3d4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:437: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_AIX ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_AIX 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_08445a449236a7f55cbef692d48fe4a7/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_08445a449236a7f55cbef692d48fe4a7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:438: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ In file included from ../../test.c:441:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/getifaddrs.c: In function 'rep_getifaddrs': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/getifaddrs.c:318:22: error: 'struct sockaddr' has no member named 'sa_len' inc = ifr->ifr_addr.sa_len; ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/getifaddrs.c:321:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:438: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ In file included from ../../test.c:441:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/getifaddrs.c:340:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:438: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ In file included from ../../test.c:441:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/getifaddrs.c:347:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:438: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_IFCONF ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_IFCONF 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_42b7eb35cd55b353422c2fdf0ab8e821/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_42b7eb35cd55b353422c2fdf0ab8e821/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:439: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_IFREQ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_IFREQ 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_cd487850bb55857a60804ecf83798636/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_cd487850bb55857a60804ecf83798636/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:440: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getpwent_r void *_x; _x=(void *)&getpwent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_5c1d0a09a7c3123494090809a8c19746/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_5c1d0a09a7c3123494090809a8c19746/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:440:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getpwent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking C prototype for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; } <== [1/1] Compiling bin/.conf_check_3ceadbba1394e1f629d5cb6d2ce32a10/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_3ceadbba1394e1f629d5cb6d2ce32a10/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:439:34: error: conflicting types for 'getpwent_r' int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:437:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here extern int getpwent_r (struct passwd *__restrict __resultbuf, ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getgrent_r void *_x; _x=(void *)&getgrent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_064b7ca45e781c6c05539e5dc19c1d85/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_064b7ca45e781c6c05539e5dc19c1d85/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:442:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&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 "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; } <== [1/1] Compiling bin/.conf_check_4112aafa14ebbe095f4ad3bed7af02b0/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_4112aafa14ebbe095f4ad3bed7af02b0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:441:33: error: conflicting types for 'getgrent_r' int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:439:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here extern int getgrent_r (struct group *__restrict __resultbuf, ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking C prototype for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; } <== [1/1] Compiling bin/.conf_check_d262f4081b9cb14598bb852aa91fe69c/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_d262f4081b9cb14598bb852aa91fe69c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:442:34: error: conflicting types for 'getpwent_r' int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:440:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here extern int getpwent_r (struct passwd *__restrict __resultbuf, ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking C prototype for getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; } <== [1/1] Compiling bin/.conf_check_a5c6945bbf1be6c7fea211f1b947719b/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_a5c6945bbf1be6c7fea211f1b947719b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:442:33: error: conflicting types for 'getgrent_r' int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:440:0: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here extern int getgrent_r (struct group *__restrict __resultbuf, ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for strerror_r ok --------------------------------------------------------------------------------- Checking for XSI (rather than GNU) prototype for strerror_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int strerror_r(int errnum, char *buf, size_t buflen); <== [1/1] Compiling bin/.conf_check_b4e9e74c53af78af5985a97b058d3074/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_b4e9e74c53af78af5985a97b058d3074/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:442:5: error: conflicting types for 'strerror_r' int strerror_r(int errnum, char *buf, size_t buflen); ^~~~~~~~~~ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/memory.h:29:0, from ../../test.c:431: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:420:14: note: previous declaration of 'strerror_r' was here extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ^~~~~~~~~~ from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_FUSE_FUSE_LOWLEVEL_H ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define FUSE_USE_VERSION 26 #define _FILE_OFFSET_BITS 64 #include "fuse/fuse_lowlevel.h" int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_0df53c5eaddddb1c35f02de69ca2956f/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/fuse', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0df53c5eaddddb1c35f02de69ca2956f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0df53c5eaddddb1c35f02de69ca2956f/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_0df53c5eaddddb1c35f02de69ca2956f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------------------- Checking for library fuse ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #define HAVE_FUSE_FUSE_LOWLEVEL_H 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_bbe10a97f9379032b433ac2256948ac5/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bbe10a97f9379032b433ac2256948ac5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bbe10a97f9379032b433ac2256948ac5/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_bbe10a97f9379032b433ac2256948ac5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lfuse'] yes --------------------------------------------------------------------------------- Checking for fuse_mount in fuse ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #define HAVE_FUSE_FUSE_LOWLEVEL_H 1 #define HAVE_LIBFUSE 1 #define fuse_mount __fake__fuse_mount #ifdef HAVE_LIMITS_H # include #else # include #endif #undef fuse_mount #if defined __stub_fuse_mount || defined __stub___fuse_mount #error "bad glibc stub" #endif extern char fuse_mount(); int main() { return fuse_mount(); } <== [1/2] Compiling bin/.conf_check_69f2c9a9ea8a30aa35b7ad9ceabbca51/test.c ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_69f2c9a9ea8a30aa35b7ad9ceabbca51/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_69f2c9a9ea8a30aa35b7ad9ceabbca51/testbuild/default/testprog ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/bin/.conf_check_69f2c9a9ea8a30aa35b7ad9ceabbca51/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lfuse'] ok --------------------------------------------------------------------------------- Checking for program 'i386-mingw32-gcc' not found find program=['i386-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i386-mingw32msvc-gcc' not found find program=['i386-mingw32msvc-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i386-w64-mingw32-gcc' not found find program=['i386-w64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-mingw32-gcc' not found find program=['i586-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-mingw32msvc-gcc' not found find program=['i586-mingw32msvc-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-w64-mingw32-gcc' not found find program=['i586-w64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-mingw32-gcc' not found find program=['i686-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-mingw32msvc-gcc' not found find program=['i686-mingw32msvc-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-w64-mingw32-gcc' not found find program=['i686-w64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN32' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-mingw32-gcc' not found find program=['x86_64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-mingw32msvc-gcc' not found find program=['x86_64-mingw32msvc-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-w64-mingw32-gcc' not found find program=['x86_64-w64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-mingw32-gcc' not found find program=['amd64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-mingw32msvc-gcc' not found find program=['amd64-mingw32msvc-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-w64-mingw32-gcc' not found find program=['amd64-w64-mingw32-gcc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='WINEXE_CC_WIN64' -> None from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'perl' /usr/bin/perl find program=['perl'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PERL' -> ['/usr/bin/perl'] --------------------------------------------------------------------------------- Checking for program 'perl' /usr/bin/perl find program=['perl'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PERL' -> ['/usr/bin/perl'] --------------------------------------------------------------------------------- Checking for minimum perl version 5.0.0 find program=['perl'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PERL' -> ['/usr/bin/perl'] ['/usr/bin/perl', '-e', 'printf "%vd", $^V'] out: 5.16.3 5.16.3 --------------------------------------------------------------------------------- Checking for perl $Config{vendorprefix}: '/usr' --------------------------------------------------------------------------------- Checking for perl $Config{vendorarch}: '/usr/lib64/perl5/vendor_perl' --------------------------------------------------------------------------------- PERL_ARCH_INSTALL_DIR: '/usr/lib64/perl5/vendor_perl' --------------------------------------------------------------------------------- Checking for perl $Config{vendorlib}: '/usr/share/perl5/vendor_perl' --------------------------------------------------------------------------------- PERL_LIB_INSTALL_DIR: '/usr/share/perl5/vendor_perl' --------------------------------------------------------------------------------- PERL_INC: ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/lib/perl', '/usr/local/lib64/perl5', '/usr/local/share/perl5', '/usr/lib64/perl5/vendor_perl', '/usr/share/perl5/vendor_perl', '/usr/lib64/perl5', '/usr/share/perl5'] --------------------------------------------------------------------------------- Checking for program 'xsltproc' false find program=['xsltproc'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='XSLTPROC' -> ['false'] --------------------------------------------------------------------------------- Checking for program 'python3' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2 find program=['python3'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PYTHON' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2'] --------------------------------------------------------------------------------- Checking for program 'python' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2 find program=['python'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PYTHON' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2'] ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2', '-c', 'import imp;print(imp.get_tag())'] err: Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'get_tag' --------------------------------------------------------------------------------- Checking for program 'python3' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python3 find program=['python3'] paths=['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin', '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/sbin', '/accts/mlweber1/bin', '/accts/mlweber1/libexec/git-core', '/accts/mlweber1/usr/bin', '/accts/mlweber1/usr/local/bin', '/usr/bin', '/bin'] var='PYTHON3' -> ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python3'] ['/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/host/bin/python2', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 2 7 17 final 0 --------------------------------------------------------------------------------- Checking for python version >= 3.4.0 2.7.17 from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/samba4-4.11.2: The python version is too old, expecting (3, 4, 0)